Does matlab have matrix broadasting

1 view (last 30 days)
This
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()
  2 Comments
cyril
cyril on 15 Apr 2014
thanks, is it really possible with bsxfun and repmat? I've not found how

Sign in to comment.

More Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!