how to add matrix and scalar

4 vues (au cours des 30 derniers jours)
vaya putra
vaya putra le 25 Juil 2018
Hi Matlab User i want to used how to write
pv = @(p) pv_r.+ (cr * (p - p_r) )
Unexpected MATLAB operator.
note; pv_r (matrix 1000*1)

Réponse acceptée

KSSV
KSSV le 25 Juil 2018
There is no .+ operator in MATLAB. Simply use:
pv = @(p) pv_r+ (cr * (p - p_r))

Plus de réponses (1)

vaya putra
vaya putra le 25 Juil 2018
thank you

Catégories

En savoir plus sur Complex Logic dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by