deleting rows and columns of a matrix

4 Ansichten (letzte 30 Tage)
mahesh chathuranga
mahesh chathuranga am 21 Sep. 2013
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu 3-D Scene Control finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by