Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
rashaping the matrix from one order to another order

Subject: rashaping the matrix from one order to another order

From: sathish kumar

Date: 31 Dec, 2012 05:01:14

Message: 1 of 2

i have 6 by 6 matrix H
i want to create another matrix of same H elements with different order
i.e i want the another matrix of H with same rows and some of columns(say 2,3 4)
can any one help me in this.
please.

Subject: rashaping the matrix from one order to another order

From: Nasser M. Abbasi

Date: 31 Dec, 2012 05:04:33

Message: 2 of 2

On 12/30/2012 11:01 PM, sathish kumar wrote:
> i have 6 by 6 matrix H
> i want to create another matrix of same H elements with different order
> i.e i want the another matrix of H with same rows and some of columns(say 2,3 4)
> can any one help me in this.
> please.
>

A=rand(6);
B=A(:,[2,3,4])

Tags for this Thread

No tags are associated with this thread.

What are tags?

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.

Contact us