Posts by Flávio Abrantes • 41 points
2 posts
-
2
votes1
answer523
viewsA: Newton Fractal, roots of equation z 4=1
Made in Matlab %Cria matriz de valores iniciais [X,Y]=meshgrid(-1:.002:1,-1:.002:1); Z=X+i*Y; %Cria funções f=@(z) z.^4-1; fp=@(z) 4*z.^3; plot(Z,'.'); %NEWTON RAPHSON for k=1:50 Z=Z-f(Z)./fp(Z);…
matlabanswered Flávio Abrantes 41 -
2
votes1
answer3219
viewsA: How to pass an array to a file . txt - MATLAB
An easy way to do is by transforming the 8-bit image unsigned integers to double, and saving using dlmwrite(). A = imread ('alta-fauna15.jpg') B = rgb2gray (A) imshow (A) % Mostra Imagem colorida…