deleting rows and columns of a matrix

3 vues (au cours des 30 derniers jours)
mahesh chathuranga
mahesh chathuranga le 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.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 21 Sep 2013
b=a
a(:,1)=[];
%If you want your original a
a=b
  1 commentaire
mahesh chathuranga
mahesh chathuranga le 21 Sep 2013
thank you very much.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by