Filter löschen
Filter löschen

How can I represent this equation on MATLAB

1 Ansicht (letzte 30 Tage)
Ibrahim swidan
Ibrahim swidan am 28 Apr. 2022
Beantwortet: KSSV am 28 Apr. 2022
How can I represent this equation on MATLAB
𝑥(𝑡) = 7 𝑐𝑜𝑠 (3𝜋𝑡) 𝑤ℎ𝑒𝑟𝑒 0≤𝑡≤4

Akzeptierte Antwort

KSSV
KSSV am 28 Apr. 2022
Extend the example to your case.
n = 100 ;
t = linspace(0,4,n) ;
x = 2*sin(3*pi*t) ;
plot(t,x)

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by