필터 지우기
필터 지우기

How would I write the function of f(x)=sin(x)*exp(-x/10)

조회 수: 6 (최근 30일)
Josh Heffron
Josh Heffron 2020년 9월 29일
편집: James Tursa 2020년 9월 29일
Where would I need to put periods in this function?

답변 (1개)

James Tursa
James Tursa 2020년 9월 29일
편집: James Tursa 2020년 9월 29일
The multiply. E.g.,
f = @(x) sin(x) .* exp(-x/10);
You don't need it on the divide because you are dividing by a scalar.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by