deleting rows and columns of a matrix

조회 수: 2 (최근 30일)
mahesh chathuranga
mahesh chathuranga 2013년 9월 21일
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.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 9월 21일
b=a
a(:,1)=[];
%If you want your original a
a=b

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 3-D Scene Control에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by