Undefined function 'plotSpec' for input arguments of type 'double'
显示 更早的评论
Hello,
The following code should give the following graph, but there is an error appearing which is "Undefined function 'plotSpec' for input arguments of type 'double'." So, any one knows what is the problem?
Thanks,
f=10;
time=2;
Ts=1/1000;
t=Ts:Ts:time;
x=sign(cos(2*pi*f*t));
plotSpec(x,Ts)
采纳的回答
更多回答(1 个)
Ronald Leon
2019-8-25
0 个投票
Hi i tried even the lower case one but still says error in plot spec
类别
在 帮助中心 和 File Exchange 中查找有关 ActiveX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!