why doesn't the vectorization work?

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 comentarios

Sean de Wolski
Sean de Wolski el 1 de Ag. de 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
Walter Roberson el 1 de Ag. de 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
the cyclist el 1 de Ag. de 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
Walter Roberson el 1 de Ag. de 2011
say, I think you might be right, cyclist!
Walter Roberson
Walter Roberson el 2 de Ag. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 1 de Ag. de 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by