Info
This question is closed. Reopen it to edit or answer.
what is wrong in this code in matlab?
1 view (last 30 days)
Show older comments
Hello, I want write this formula but my answer in matlab always -Inf :(
Xmax - Fd*((1/G^(1/Fe))-1);
0 Comments
Answers (1)
Matt J
on 24 Apr 2016
Look at the results of intermediate calculations, e.g., 1/Fe, then G^(1/Fe), then 1/G^(1/Fe), until you find where it goes bad. Likely you have divided by zero somewhere.
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!