values calculated from avector
1 view (last 30 days)
Show older comments
saja mk
on 13 Oct 2020
Answered: Sudhakar Shinde
on 13 Oct 2020
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
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!