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
VBBV 2020년 12월 25일
Change your working directory name to something other than standard matlab installed folders
VBBV
VBBV 2020년 12월 25일
Seems sawtooth function is not supported in matlab 2015a
suggest me if there is any library to make it work.

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
Walter Roberson 2020년 12월 25일

0 개 추천

sawtooth() is part of the Signal Processing Toolbox

댓글 수: 3

please give solution
sawtooth was supported in R2015a.
I do not have the link for the R2015a documentation, but the R2015b documentation link is https://www.mathworks.com/help/releases/R2015b/signal/ref/sawtooth.html
and the function is marked as existing before R2006a.
You do, however, need to have the Communications Systems Toolbox installed and licensed in order to use it.
thank you for the help.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2015a

질문:

2020년 12월 25일

댓글:

2020년 12월 25일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by