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
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
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
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
2011-8-1
say, I think you might be right, cyclist!
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!