필터 지우기
필터 지우기

calculated f(x) with a specific point x

조회 수: 2 (최근 30일)
valerio
valerio 2013년 10월 28일
편집: Andrei Bobrov 2013년 10월 28일
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일
f=@(x)exp(x.*(2-x.^2))-2./(3+5*x);
x = 3/2;
out = f(x);
Please read about anonymous functions

카테고리

Help CenterFile Exchange에서 Time Series에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by