Can someone tell how to use state.time, state.u simultaneously?

조회 수: 7 (최근 30일)
Dhanush Bejjarapu
Dhanush Bejjarapu 2020년 6월 9일
답변: Jorge Garcia Garcia 2023년 7월 10일
I have a heat generation function of temperature and time. I'm confused how state.u gets translated to final temperature.
  댓글 수: 6
Ravi Kumar
Ravi Kumar 2020년 6월 9일
Hi Dhanush,
I see that the temperature is changing, but by very small amount from its initial temperature. What version of matlab are you using?
Regards,
Ravi
Dhanush Bejjarapu
Dhanush Bejjarapu 2020년 6월 10일
Hello,
I'm using the latest R2020a version and I don't think that this version has the issues.
When I've changed the initial conditions, state.u is changing accordingly while state.time is remaining at 0, so maybe I need to make state.time to become functional to have the change in state.u but unable to figure out how to do this...
Regards,
Dhanush

댓글을 달려면 로그인하십시오.

답변 (1개)

Jorge Garcia Garcia
Jorge Garcia Garcia 2023년 7월 10일
I am also having some issues with state.time. I have 5 time instances and it seems just to read 0 and a randon number.. then it just generates NAN values

태그

Community Treasure Hunt

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

Start Hunting!

Translated by