You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to run the code in MATLAB, this code is giving error even on its own jpeg images. I have used here the image of Vicsek Fractal
It is showing this warning if I try to run the code in MATLAB,
getfractaldim("vicsek-fractal.png", 180, 40, 10)
Current plot heldWarning: Polynomial is not unique; degree >= number of data points. > In [polyfit](matlab:matlab.internal.language.introspective.errorDocCallback('polyfit', '/MATLAB/toolbox/matlab/polyfun/polyfit.m', 79)) ([line 79](matlab: opentoline('/MATLAB/toolbox/matlab/polyfun/polyfit.m',79,0)))
In [getfractaldim](matlab:matlab.internal.language.introspective.errorDocCallback('getfractaldim', '/MATLAB Drive/fractal-dimensions/getfractaldim.m', 47)) ([line 47](matlab: opentoline('/MATLAB Drive/fractal-dimensions/getfractaldim.m',47,0)))
Fractal Dimension = 0.000000
Array indices must be positive integers or logical values.
If I try to run the code in MATLAB, this code is giving error even on its own jpeg images. I have used here the image of Vicsek Fractal
It is showing this warning if I try to run the code in MATLAB,
Error in [getfractaldim](matlab:matlab.internal.language.introspective.errorDocCallback('getfractaldim', '/MATLAB Drive/fractal-dimensions/getfractaldim.m', 54)) ([line 54](matlab: opentoline('/MATLAB Drive/fractal-dimensions/getfractaldim.m',54,0)))
text(x(end),y(end)+2,"FD = " + num2str(fd));
The text was updated successfully, but these errors were encountered: