Come si calcola il massimo di una matrice in matlab?

di Anonimizzato11068 il
3 risposte
Perché trovo questo errore?
>> X = [2 8 4
       7 3 9];
>> max(X)
Index exceeds matrix dimensions. 
>> X
X =
     2     8     4
     7     3     9
>> max(X)
Index exceeds matrix dimensions. 
>> max(max(X))
Index exceeds matrix dimensions. 
>> max(X,[],1)
Index exceeds matrix dimensions. 
>> 

3 Risposte

  • X = [2 8 4; 7 3 9];
  • Prego
  • Thanks
Devi accedere o registrarti per scrivere nel forum
3 risposte