"length" doesnt work
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi
I have the following problem:
>> x = [1 2 3]
x =
1 2 3
>> length(x)
Index exceeds matrix dimensions.
????
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 2 Feb 2013
Modificato: Azzi Abdelmalek
il 2 Feb 2013
clear length
x=[1 2 3]
length(x)
% Maybe you've used length as a variable
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!