Intermediate step return ```InF``` while using exp
Show older comments
```
aa=8e+05;
bb=1e+06;
tf=0.002;
temp=(-(bb*exp(bb*tf)-aa*exp(aa*tf))*exp(-bb*tf-aa*tf)+bb-aa)
```
Output is InF
I believe the InF comes from exp(bb*tf) and exp(aa*tf)
What should do to make this work? Thank you
Accepted Answer
More Answers (0)
Categories
Find more on Operations on Strings 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!