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

6 vues (au cours des 30 derniers jours)
Dhanush Bejjarapu
Dhanush Bejjarapu le 9 Juin 2020
I have a heat generation function of temperature and time. I'm confused how state.u gets translated to final temperature.
  6 commentaires
Ravi Kumar
Ravi Kumar le 9 Juin 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 le 10 Juin 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

Connectez-vous pour commenter.

Réponses (1)

Jorge Garcia Garcia
Jorge Garcia Garcia le 10 Juil 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!

Translated by