Given the below code, how can I plot X vs. V?

Can you help me as what is wrong with my code? I'm trying to plot X vs V ( X as a function of Volume) but I get my code to be linear and unreasonable.
See attachments please, I have a problem understanding plotting basics

2 commentaires

KSSV
KSSV le 31 Mar 2017
Problem could be with ODE45..you are not using it properly...Read the documentation of ODE45.
Jan
Jan le 31 Mar 2017
The screenshots are not useful. Prefer to post such small pieces of code directly as text in the question using the "{} Code" button. Thanks.
Remember that all we see is the running Matlab code and your statement, that you expect a different solution. How can we suggest an improvement based on these information?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Graphics dans Centre d'aide et File Exchange

Commenté :

Jan
le 31 Mar 2017

Community Treasure Hunt

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

Start Hunting!

Translated by