why doesn't the vectorization work?
Show older comments
I think that vectorization of code is the greatest thing in MATLAB. There is a one step to overcome limitations of vectorization is to allow this syntax:
((:,:,:),(:,:,:),(:,:,:))
that means the same as
(:,:,:)
but executed consequently from left to right.
Will this vectorization ever be supported?
5 Comments
Sean de Wolski
on 1 Aug 2011
I don't understand what you want - though it sounds more like an enhancement request type question. Perhaps you could show a (small) example of what you want (inputs/ops/outputs)?
Walter Roberson
on 1 Aug 2011
MATLAB already executes from left to right, except as modified by () or operator precedence.
I do not understand what is being asked. I get a bit of an impression that it might be like a built-in ndgrid()
the cyclist
on 1 Aug 2011
I assumed that what he wanted was more like Walters' top-voted enhancement here: http://www.mathworks.com/matlabcentral/answers/1325-what-is-missing-from-matlab
Walter Roberson
on 1 Aug 2011
say, I think you might be right, cyclist!
Walter Roberson
on 2 Aug 2011
Your edit doesn't seem to provide any additional information. As Sean asked, please show a small example of how it might look and what the desired output would be.
Answers (0)
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!