Hi how can id do this plot f = 5sin⁡(10pi*t) over one period

1 view (last 30 days)
Hi how can id do this plot f = 5sin(10pi*t) over one period

Accepted Answer

Stephen23
Stephen23 on 11 Feb 2016
Edited: Stephen23 on 11 Feb 2016
>> N = 200;
>> t = linspace(0,2/10,N);
>> v = 5*sin(10*pi*t);
>> plot(t,v)
creates this:

More Answers (1)

Waleed Alrabghi
Waleed Alrabghi on 11 Feb 2016
Thank you Stephen :)

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!