MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > how to insert/delete rows in a matrix without copy... 

Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Chenyang Date: 25 Jul, 2007 13:50:59 Message: 1 of 15 
Matlab is very slow add/delete a row in a matrix. 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Daphne W Date: 25 Jul, 2007 15:03:46 Message: 2 of 15 

Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Chenyang Date: 25 Jul, 2007 16:20:01 Message: 3 of 15 
Thank you, but this is not a "true" solution. The codes are just for illustration of the problem. What if you want to delete/add the 99th row? 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Tim Davis Date: 25 Jul, 2007 16:43:01 Message: 4 of 15 
"Chenyang " <john.doe.nospam@mathworks.com> wrote in message <f87t7h$mje$1@fred.mathworks.com>... 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Robert Date: 25 Jul, 2007 17:51:32 Message: 5 of 15 

Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Sterren Latsky Date: 8 Nov, 2007 14:37:47 Message: 6 of 15 
Hi guys. I have a similar query. 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Tim Davis Date: 16 Nov, 2007 02:30:02 Message: 7 of 15 
"Sterren Latsky" <stez17@hotmail.com> wrote in message 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Kevin Lin Date: 18 Nov, 2007 00:10:58 Message: 8 of 15 
If I want to delete arbitrary m rows (for simplicity, say 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Kevin Lin Date: 18 Nov, 2007 00:14:41 Message: 9 of 15 
If I want to delete arbitrary m rows (for simplicity, say 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Kevin Lin Date: 18 Nov, 2007 01:39:04 Message: 10 of 15 
More precisely, suppose that matrix A has n rows. I want to 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Jens Christiansen Date: 21 Jul, 2008 23:04:05 Message: 11 of 15 
"Chenyang " <john.doe.nospam@mathworks.com> wrote in message 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Peter Boettcher Date: 22 Jul, 2008 13:21:44 Message: 12 of 15 
"Jens Christiansen" <jenschristiansen@gmail.com> writes: 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Jesse Sipple Date: 14 Jun, 2011 19:04:04 Message: 13 of 15 
You can just create a condition vector, then use that condition vector to remove the rows of your matrix 
Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Henrique Date: 7 Sep, 2011 19:52:28 Message: 14 of 15 

Subject: how to insert/delete rows in a matrix without copy the rest of matrix From: Bruno Luong Date: 7 Sep, 2011 20:33:29 Message: 15 of 15 
"Henrique " <hademelo@mtu.edu> wrote in message <j48i1s$1t6$1@newscl01ah.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.