s=[a b]
how can calculate s1 and s2, if s1=exp(a)and s2=exp(b)?

 採用された回答

Sudhakar Shinde
Sudhakar Shinde 2020 年 10 月 13 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeDescriptive Statistics and Visualization についてさらに検索

タグ

質問済み:

2020 年 10 月 13 日

回答済み:

2020 年 10 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by