How can I represent this equation on MATLAB

1 visualizzazione (ultimi 30 giorni)
How can I represent this equation on MATLAB
𝑥(𝑡) = 7 𝑐𝑜𝑠 (3𝜋𝑡) 𝑤ℎ𝑒𝑟𝑒 0≤𝑡≤4

Risposta accettata

KSSV
KSSV il 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)

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by