MATLAB subs to evaluate symbolic equation and function ?

Question : MATLAB subs to evaluate symbolic equation and function ? Answer : Example 1 : syms x f=log(sin(x)) g=exp(tan(x)) subs(f,pi/2) % evaluate of f at x= pi/2 subs(g,0) % evaluate of g at x= 0 Output : ans =…

This Question has been answered. 

Please Subscribe to See Answer or To Get Homework Help