Thread Subject: Cell and matrix complex operation

Subject: Cell and matrix complex operation

From: hosam

Date: 13 Jun, 2009 14:26:01

Message: 1 of 1

thanks Nicoli,
 need to make a program for cell and matrix operations
i need to use the cell and matrix elements indices to make a certain operation:

i need this to be applied to a complete cell just like the one below:
a={[2 5;6 4] [7 4;6 8];[3 9;4 7] [2 1;5 9]}
and if we refer to the internal matrices indices with (x,y)
we would refer to the cell indice with (m,n)
and we need to do the following operation for each separate element in the cell and matrices with relation to their own indices:
 b(x,y)=a(x,y).^((x+m)/(y-n)*y)
we need this to happen without use of (FOR, IF, WHILE, or any other loops).
i need your help with this harder case which will make me a great benefit
thanks

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
cell Sprinceana 22 Jun, 2009 06:55:45
matrix Sprinceana 22 Jun, 2009 06:55:45
rssFeed for this Thread

Contact us at files@mathworks.com