Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

what is wrong in this code in matlab?

1 Ansicht (letzte 30 Tage)
Dani D
Dani D am 24 Apr. 2016
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello, I want write this formula but my answer in matlab always -Inf :(
Xmax - Fd*((1/G^(1/Fe))-1);

Antworten (1)

Matt J
Matt J am 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.
  2 Kommentare
Dani D
Dani D am 24 Apr. 2016
Thanks, But how can write correct expression?
Matt J
Matt J am 24 Apr. 2016
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.

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by