calculated f(x) with a specific point x
1 view (last 30 days)
Show older comments
Hallo can anyone help me? If I've a specific point x ,how to calculated f(x) with matlab ? for example : f='exp(x).^(2-x.^(2))-(2/(3+5*x))'; x= 3/2; how calculated f(x) ?
0 Comments
Answers (1)
Andrei Bobrov
on 28 Oct 2013
Edited: Andrei Bobrov
on 28 Oct 2013
f=@(x)exp(x.*(2-x.^2))-2./(3+5*x);
x = 3/2;
out = f(x);
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!