values calculated from avector

1 回表示 (過去 30 日間)
saja mk
saja mk 2020 年 10 月 13 日
回答済み: Sudhakar Shinde 2020 年 10 月 13 日
s=[a b]
how can calculate s1 and s2, if s1=exp(a)and s2=exp(b)?

採用された回答

Sudhakar Shinde
Sudhakar Shinde 2020 年 10 月 13 日
exp fumcion is available in matlab. The s1 & s2 syntax you written can directly be used.
s=[a b];
s1=exp(s(1));
s2=exp(s(2));

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by