Does matlab have matrix broadasting

2 visualizzazioni (ultimi 30 giorni)
This
x=[1:3]'; x.^(1:5)
would work on Octave thanks to Broadcasting
sadly not in matlab

Risposta accettata

Walter Roberson
Walter Roberson il 15 Apr 2014
No, MATLAB does not have that. See bsxfun() and repmat()
  2 Commenti
cyril
cyril il 15 Apr 2014
thanks, is it really possible with bsxfun and repmat? I've not found how

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by