deleting rows and columns of a matrix

3 ビュー (過去 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
  1 件のコメント
mahesh chathuranga
mahesh chathuranga 2013 年 9 月 21 日
thank you very much.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by