stairs function not working
이전 댓글 표시
stairs function not working. Empty figure. Any idea
댓글 수: 8
Adam
2017년 11월 8일
Since you posted no code then no! The stairs function works fine if you give it the right inputs and have your axes setup appropriately.
Jameel Qadri
2017년 11월 8일
편집: dpb
2017년 11월 8일
Adam
2017년 11월 8일
Works fine for me so long as I add a ';' after 'figure'.
KSSV
2017년 11월 8일
What does which stairs give?
Jameel Qadri
2017년 11월 8일
Jameel Qadri
2017년 11월 8일
dpb
2017년 11월 8일
which stairs
is a command at the command line to prove you've got the correct stairs m-file in the path being executed, not a question about what you were seeing. What response did you get; it should be something like
>> which stairs
C:\ML_R2014b\toolbox\matlab\specgraph\stairs.m
>>
with a specific path/version system-dependent, of course.
You can also try
clear stairs
and then try the example again to just clear any inadvertent variable you may have aliased the function with which is the solution to the which command showing you have done something of the sort.
Jameel Qadri
2017년 11월 8일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Time Series Events에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!