deleting rows and columns of a matrix

1 view (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on 3-D Scene Control in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!