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 Kommentare

KSSV
KSSV am 31 Mär. 2017
Problem could be with ODE45..you are not using it properly...Read the documentation of ODE45.
Jan
Jan am 31 Mär. 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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Graphics finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 31 Mär. 2017

Kommentiert:

Jan
am 31 Mär. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by