Info

この質問は閉じられています。 編集または回答するには再度開いてください。

what is wrong in this code in matlab?

1 回表示 (過去 30 日間)
Dani D
Dani D 2016 年 4 月 24 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello, I want write this formula but my answer in matlab always -Inf :(
Xmax - Fd*((1/G^(1/Fe))-1);

回答 (1 件)

Matt J
Matt J 2016 年 4 月 24 日
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.
  2 件のコメント
Dani D
Dani D 2016 年 4 月 24 日
Thanks, But how can write correct expression?
Matt J
Matt J 2016 年 4 月 24 日
There is no indication that anything is incorrect. For example, there is nothing wrong with the expression 1/x as long as you don't let x=0.

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by