MATLAB Answers

Does matlab have matrix broadasting

1 view (last 30 days)
cyril on 15 Apr 2014
Commented: Walter Roberson on 15 Apr 2014
x=[1:3]'; x.^(1:5)
would work on Octave thanks to Broadcasting
sadly not in matlab

Accepted Answer

Walter Roberson
Walter Roberson on 15 Apr 2014
No, MATLAB does not have that. See bsxfun() and repmat()

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!