i am not getting correct output for this sawtooth plot
Show older comments
I have to plot sawtooth with amplitude of 4 and freq(fs) of 30
I m solving like sine wave. kindly find mistakes..
t = 0:5:30;
a = 4;
x = a*sawtooth(t);
plot(t,x)
axis([0 30 0 4])
7 Comments
madhan ravi
on 31 May 2020
And no of periods , how much do you want?
Attaullah Shafiq
on 31 May 2020
Attaullah Shafiq
on 31 May 2020
Attaullah Shafiq
on 31 May 2020
Attaullah Shafiq
on 31 May 2020
Attaullah Shafiq
on 31 May 2020
Accepted Answer
More Answers (0)
Categories
Find more on Simulink 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!