error:Undefined function or variable 'sawtooth'.
显示 更早的评论
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 个评论
VBBV
2020-12-25
Change your working directory name to something other than standard matlab installed folders
VBBV
2020-12-25
Seems sawtooth function is not supported in matlab 2015a
shivam Kumar
2020-12-25
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!