Got Questions? Get Answers.
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:
Index help

Subject: Index help

From: Muhammad Ramzan

Date: 27 Jan, 2013 17:04:08

Message: 1 of 1

Hi everyone,


I have two symbolic matrices;

A = [1 p;0 1];
B = [1 p;0 1-p];

I have to calculate the tensor product of all the permutations as given below (obtained using npermutek function);


>> MAT = npermutek(['A' 'B'],2)

MAT =

AA
AB
BA
BB

Now how can I pick the index of MAT AA, ......BB to find the kronecker product. please help me out.


Regards,

Ramzan.

Tags for 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