matrix operation
Mostra commenti meno recenti
sir how to remove a specific element in an row or column matrix that is in a matrix a=[1 3 3 4] how to remove 4Th element so that i need to have answer a=[1 3 3]
Risposta accettata
Più risposte (1)
Paulo Silva
il 7 Apr 2011
More examples to add to Sean ones
a(end)=[] %remove the last element
a(a~=1 & a~3)=[] %remove all elements different from 1 and 3
1 Commento
javeed miyandad
il 7 Apr 2011
Categorie
Scopri di più su Creating and Concatenating Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!