deleting rows and columns of a matrix

4 visualizzazioni (ultimi 30 giorni)
a(:,1)=[];when i'm applying this function,1st row of the matix a was delete.now i'm want to call original matrix a. is there any method to do this.thank you.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 21 Set 2013
b=a
a(:,1)=[];
%If you want your original a
a=b

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by