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

Sean de Wolski
Sean de Wolski 2011년 8월 1일
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 2011년 8월 1일
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 2011년 8월 1일
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 2011년 8월 1일
say, I think you might be right, cyclist!
Walter Roberson
Walter Roberson 2011년 8월 2일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2011년 8월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by