필터 지우기
필터 지우기

How do I plot an equation?

조회 수: 1 (최근 30일)
Caitlin Schmidt
Caitlin Schmidt 2021년 9월 14일
답변: Voss 2022년 4월 30일
How would I be able to plot the following equation into matlab : y=e^(-x/0.005)?

답변 (1개)

Voss
Voss 2022년 4월 30일
One way:
x = -0.02:0.0001:0.02;
y = exp(-x/0.005);
plot(x,y)
Another way:
y = @(x)exp(-x/0.005);
fplot(y,[-0.02 0.02])

카테고리

Help CenterFile Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by