Clear Filters
Clear Filters

How can I represent this equation on MATLAB

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

Accepted Answer

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

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!