Student Support Forum: 'matlab m-file to mathematica' topicStudent Support Forum > General > "matlab m-file to mathematica"

 Next Comment > Help | Reply To Topic
 Author Comment/Response matin 05/14/12 00:50am Hi everyone! I've written a matlab m-file to draw a double integral as below. Does everybody can show me its equivalent in mathematica??? Collapse | Copy Code tetha = pi/4; lamb = -1; h = 4; tetha0 = 0; syms x y l n = [h.*((cos(tetha)).^2)./sin(tetha); h.*abs(cos(tetha)); 0]; 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]; integrand = @(x,y)(ft.*h.*((abs(cos(tetha)).*(x.*cos(tetha)-y.*sin(tetha)))-((cos(tetha)).^2/sin(tetha)).*(x.*sin(tetha)+y.*cos(tetha)))); PhiHat = @(a,b)(dblquad(integrand,0,a,0,b)); ezsurfc(PhiHat,[0,5,0,5]) URL: ,

 Subject (listing for 'matlab m-file to mathematica') Author Date Posted matlab m-file to mathematica matin 05/14/12 00:50am Re: matlab m-file to mathematica Bill Simpson 05/16/12 4:22pm Re: Re: matlab m-file to mathematica matinking 05/18/12 00:26am Re: Re: Re: matlab m-file to mathematica Bill Simpson 05/18/12 12:03pm
 Next Comment > Help | Reply To Topic