values calculated from avector
1 view (last 30 days)
Show older comments
s=[a b]
how can calculate s1 and s2, if s1=exp(a)and s2=exp(b)?
0 Comments
Accepted Answer
Sudhakar Shinde
on 13 Oct 2020
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!