필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

what is wrong in this code in matlab?

조회 수: 2 (최근 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