Deciphering an Error message
Mostra commenti meno recenti
What does the following error message mean?
??? Index exceeds matrix dimensions.
Error in ==> clabel>inline_labels at 172
if strcmp(get(h(1), 'Type'), 'patch') && ~strcmp(get(h(1), 'FaceColor'),
'none')
Error in ==> clabel at 111
h = inline_labels(cax, cs, varargin{:});
Thank you.
Risposta accettata
Più risposte (1)
Sean de Wolski
il 2 Apr 2012
x = rand(2,2)
x is now a 2x2 matrix.
If I try to get x(3,3):
x(3,3)
I'll get that error because x(3,3) doesn't exist since it's 2x2
3 Commenti
Brooke
il 2 Apr 2012
Sean de Wolski
il 2 Apr 2012
What are you entering for n?
Brooke
il 2 Apr 2012
Categorie
Scopri di più su Numerical Integration and Differentiation in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!