How can I graph differential equations without initial conditions?

8 views (last 30 days)
I have a system of four differential equations that I was trying to graph. This part of a mathematical model and as such I do not have initial conditions. i.e I called y(0)=y_(0). My equations also has 6 parameters of unknown value. I was trying to graph it to only show the general trend of the curve.

Answers (1)

John D'Errico
John D'Errico on 9 Mar 2017
If all you have is a symbolic solution of a system, and you are unwilling/unable to substitute specific numerical values, then no, you cannot plot anything.
The implication being, IF you do want to plot something, then you need to provide values for those unspecified constants.
  4 Comments
Steven Lord
Steven Lord on 9 Mar 2017
A simpler variant of your question, John, is which direction does this parabola open: up or down? [I'm not going to tell you what a is yet.]
x = -10:10;
y = a*x.^2;
plot(x, y)
Trick question: when I ran this code a was 0, so this code plotted a straight line. :)

Sign in to comment.

Categories

Find more on Get Started with Optimization Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!