Index exceeds matrix dimensions ??
显示 更早的评论
h = scatterplot(sqrt(nsamp)*ynoisy(1:nsamp*5e3),nsamp,0,'g.');
Index exceeds matrix dimensions ?? Error in ==> grd at 99 h = scatterplot(sqrt(nsamp)*ynoisy(1:nsamp*5e3),nsamp,0,'g.');
what is my problem? Just copy of :http://www.mathworks.com/help/toolbox/comm/ug/a1067963807.html#top_of_page
采纳的回答
更多回答(2 个)
Andreas Goser
2011-4-1
0 个投票
The link does not work for me, but when a code from a documentation example does not work, then it is likely that either the data has been altered. You can find out the cause of the issue by looking at the dimensions. What is "nsamp*5e" and is there an element ynoisy(1:nsamp*5e3)? Is that maybe an issue with the index being a DOUBLE?
类别
在 帮助中心 和 File Exchange 中查找有关 Modulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!