MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Diagonal of a matrix vector 

I have a "matrix" with dimensions (n,n,M), which can be interpreted as 
Mauro <msmscarlatti@googlemail.com> wrote in message <f13aac49c83e432e869760e7a8963834@x42g2000yqx.googlegroups.com>... 
Another solution 
Thanks to both of you, but I did not explain very clearly: what I 
Mauro <msmscarlatti@googlemail.com> wrote in message <06c553f7b98149c1b9375763c8f12af1@x42g2000yqx.googlegroups.com>... 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <i8g1th$kuf$1@fred.mathworks.com>... 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <i8g1th$kuf$1@fred.mathworks.com>... 
"James Tursa" <aclassyguy_with_a_k_not_a_c@hotmail.com> wrote in message <i8g55r$qme$1@fred.mathworks.com>... 
Thank you very much for all your help, guys! 
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.