how to add matrix and scalar

5 次查看(过去 30 天)
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)

采纳的回答

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

更多回答(1 个)

vaya putra
vaya putra 2018-7-25
thank you

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by