Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Delete and insert row in different matrix
Replies: 5   Last Post: Aug 20, 2013 11:38 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 48
Registered: 7/30/13
Re: Delete and insert row in different matrix
Posted: Aug 20, 2013 2:17 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"John Dickson" wrote in message <kv088l$5v7$1@newscl01ah.mathworks.com>...
> Hi I am trying to delete ith row from A matrix and insert the same row in B matrix, is it possible in matlab?
> I am successful in deleting the ith row using A(i,:)=[]
> Not sure how to insert the same deleted row into another matrix B.
> Any help is appreciated.
> Thanks

can you provide a little more info?

Are A and B the same size and type of data? Where in B are you trying to insert the new row? Does it depend on some other data outside of A and B?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.