An open exchange for the MATLAB and Simulink user community |
Hosted by The MathWorks |
|
| Related Topics |
| New Products | Support | Documentation | Training | Webinars | Jobs | Newsletters |
| Problems? Suggestions? Contact us at files@mathworks.com | © 1994-2008 The MathWorks, Inc. Trademarks Privacy Policy |
Doug, in the RSS feed of your blog, read in internet explorer 7, the videos never show. I don’t mean they don’t run, there are just lines of text with a single blank line where the videos should be. Is there a way to fix this?
Thanks,
naor (win32xp r2006a)
Hi Doug, very clear video, however, is it possible to do logical indexing directly to a submatrix, eg:
data=zeros(10,10,10);
here data(:,:,5) could be slice.
now let
mask=zeros(10,10);mask(5:5,8:8)=1;
Is it possible to use this mask to logically index the submatrix data(:,:,5)?
slice = data(:,:,5);
and then accessing slice(mask) is possible. But can this not be done directly, without extracting ’slice’?
Thanks
Dennis
It will be required to pull out the intermediate values to use that logical matrix or you will need to do some other indexing method.
Doug