フィルターのクリア

how to multiply each elements of the cell with a scalar quantity?

1 回表示 (過去 30 日間)
Nir Vaishnav
Nir Vaishnav 2022 年 8 月 25 日
回答済み: Matt J 2022 年 8 月 25 日
for i=1:4
rate_k=@(pt,sigma)Rate(W,I,B,B1,pt,sigma,R1,invs1,i);
OptP{i} =@(sigma)vpa(solve(rate_k(pt,sigma)==rate_th,pt));
end
%%How to multiply each element of OptP{i} to a scalar quantity?

採用された回答

Matt J
Matt J 2022 年 8 月 25 日
OptP{i} =@(sigma) scalar * vpa(solve(rate_k(pt,sigma)==rate_th,pt));

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by