hello all,
i am beginner with matlab
if anyone could help me with this
Create a one dimensional array t of N = 500 points in Matlab; Scale it so that t contains equally spaced time samples for a duration of 0.5s (ie: t(1)=0, .t(250) = 0.25, t(500)=0.5). You now have a time index vector in seconds.
1.2 Create a one dimensional array of N = 500 points in Matlab, containing one period of a periodic function of period .
Plot this function and ensure that the labels in the t axis are in seconds.
1.3 Create a one dimensional array of N = 500 points in Matlab, containing one period of a square wave function of period .
Plot this function and ensure that the labels in the time axis are in seconds.
i am beginner with matlab
if anyone could help me with this
Create a one dimensional array t of N = 500 points in Matlab; Scale it so that t contains equally spaced time samples for a duration of 0.5s (ie: t(1)=0, .t(250) = 0.25, t(500)=0.5). You now have a time index vector in seconds.
1.2 Create a one dimensional array of N = 500 points in Matlab, containing one period of a periodic function of period .
Plot this function and ensure that the labels in the t axis are in seconds.
1.3 Create a one dimensional array of N = 500 points in Matlab, containing one period of a square wave function of period .
Plot this function and ensure that the labels in the time axis are in seconds.