Index exceeds matrix dimensions ??
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (2)
Andreas Goser
le 1 Avr 2011
0 votes
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?
Ali
le 1 Avr 2011
0 votes
Catégories
En savoir plus sur Modulation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!