f



weierstrass mandelbort function.

i tried to solve the w.m function.somewhat i done properly but my desired graph is not obtained properly .so please find out the error. and reply me.........

clc
clear

x = [0.1:0.01:1].*1e-6;
y = [0.1:0.01:1].*1e-6;
[x,y] = meshgrid(x,y);
g = 1.55e-10;
l = 1e-6;
d = 2.2;
M = 10;
ye = 1.5;
nm = 7;
t= 2.*pi.*rand(M,nm);
for m= 1: M
for n= 1:nm

z=l*(g/l)^(d-2).*(log(ye)./M)^0.5.*(ye).^((d-3).*n).*(cos(t(m,n))-cos((2.*pi.*ye.^n.*(x.^2+y.^2).^0.5)./l.*cos(atan(y./x)-pi.*m./M)+(t(m,n))));
end
end
% plot3(x,y,z);
mesh(x,y,z)
0
KANAGARAJAN
12/23/2016 5:01:03 PM
comp.soft-sys.matlab 211266 articles. 17 followers. lunamoonmoon (258) is leader. Post Follow

0 Replies
141 Views

Similar Articles

[PageSpeed] 11

Reply: