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

MATLAB

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

Best Answer

>> N = 200;
>> t = linspace(0,2/10,N);
>> v = 5*sin(10*pi*t);
>> plot(t,v)
creates this: