error:Undefined function or variable 'sawtooth'.
Show older comments
T = 10*(1/50);
fs = 1000;
t = 0:1/fs:T-1/fs;
x = sawtooth(2*pi*50*t);
plot(t,x)

grid on
3 Comments
VBBV
on 25 Dec 2020
Change your working directory name to something other than standard matlab installed folders
VBBV
on 25 Dec 2020
Seems sawtooth function is not supported in matlab 2015a
shivam Kumar
on 25 Dec 2020
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing 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!