Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'equivalent oSubs() mathlab function in mathemat...' topicStudent Support Forum > General > "equivalent oSubs() mathlab function in mathemat..."

Next Comment >Help | Reply To Topic
Author Comment/Response
matin
05/15/12 00:15am

Hi! I have a matlab m-file in order to draw an integral as below. I want to rewrite this code in mathematica but I don't know any equivalent function for subs()!! Does any body help me?

syms x y w;
fun = (-1/(4.*pi)).*log(x.^2+(y-w).^2);
integral = int(fun, w);
res_l = subs(integral, w, -0.5);
res_u = subs(integral, w, 0.5);
res = res_u - res_l;
ezsurf(res, [-1,1]);

URL: ,

Subject (listing for 'equivalent oSubs() mathlab function in mathemat...')
Author Date Posted
equivalent oSubs() mathlab function in mathemat... matin 05/15/12 00:15am
Re: equivalent oSubs() mathlab function in math... Bill Simpson 05/15/12 10:53pm
Re: Re: equivalent oSubs() mathlab function in ... Bill Simpson 05/16/12 1:37pm
Re: equivalent oSubs() mathlab function in math... Peter Pein 05/16/12 04:25am
Next Comment >Help | Reply To Topic