how to add matrix and scalar
14 ビュー (過去 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)
0 件のコメント
採用された回答
KSSV
2018 年 7 月 25 日
There is no .+ operator in MATLAB. Simply use:
pv = @(p) pv_r+ (cr * (p - p_r))
0 件のコメント
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!