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 Comments

Problem could be with ODE45..you are not using it properly...Read the documentation of ODE45.
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?

Sign in to comment.

Answers (0)

Categories

Find more on Graphics in Help Center and File Exchange

Asked:

on 31 Mar 2017

Commented:

Jan
on 31 Mar 2017

Community Treasure Hunt

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

Start Hunting!