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) ?

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2013년 10월 28일
편집: Andrei Bobrov 2013년 10월 28일

0 개 추천

f=@(x)exp(x.*(2-x.^2))-2./(3+5*x);
x = 3/2;
out = f(x);
Please read about anonymous functions

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2013년 10월 28일

편집:

2013년 10월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by