how to add matrix and scalar

14 ビュー (過去 30 日間)
vaya putra
vaya putra 2018 年 7 月 25 日
回答済み: vaya putra 2018 年 7 月 25 日
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 Center および File ExchangeComplex Logic についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by