why doesn't the vectorization work?
Afficher commentaires plus anciens
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 commentaires
Sean de Wolski
le 1 Août 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
le 1 Août 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
le 1 Août 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
le 1 Août 2011
say, I think you might be right, cyclist!
Walter Roberson
le 2 Août 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.
Réponses (0)
Catégories
En savoir plus sur Whos dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!