15,748,973 members
1.00/5 (1 vote)
See more:
Hi!
I want to draw a two-variable function from X and Y as with below m-file:
it is under a double integral and there are some errors.
Does any body help me????

PHP
```syms z h tetha0 tetha x y;
tetha = pi/4;
n = [h*cos(tetha)./sin(tetha); h*abs(cos(tetha)); 0];           %3*1 matrix
ft = ((tetha - pi/2)./sin(tetha)).^4;
Rt = [cos(tetha) -sin(tetha); sin(tetha) cos(tetha)];
zt = [cos(tetha0) -sin(tetha0); sin(tetha0) cos(tetha0)];
lt = [x;y];

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

h = 4;
tetha0 = 0;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

lambda = ft.*(Rt*zt*lt);                                     %result a 2*1 matrix
lm = [lambda;0];                                                %result a 3*1 mtrix
integrand = (cross(lm,n));

ezsurf(PhiHat,[0,5]);```
Posted
Updated 4-May-12 22:45pm
v2
Richard MacCutchan 5-May-12 7:59am
and there are some errors.
And you expect people to guess what they are?
Sergey Alexandrovich Kryukov 5-May-12 22:53pm
...therefore, a vote of 1.
--SA