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

5 views (last 30 days)
I have a heat generation function of temperature and time. I'm confused how state.u gets translated to final temperature.
  6 Comments
Ravi Kumar
Ravi Kumar on 9 Jun 2020
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 on 10 Jun 2020
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

Sign in to comment.

Answers (1)

Jorge Garcia Garcia
Jorge Garcia Garcia on 10 Jul 2023
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

Tags

Community Treasure Hunt

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

Start Hunting!