MATLAB Plotting vector fields in MATLAB or Maple

Click For Summary
The discussion revolves around solving the differential equation x' = (-2 1; 1 -2)x, where two linearly independent solutions, x1 = (1;1)e^(-t) and x2 = (1;-1)e^(-3t), have been identified. The main focus is on plotting a vector field for these solutions using MATLAB or Maple. The user seeks guidance on whether there are efficient methods available for this task, expressing a desire to avoid manual plotting. Responses suggest that there are numerous tutorials available on YouTube that can assist with MATLAB plotting, particularly for vector fields.
JefeNorte
Messages
9
Reaction score
0

Homework Statement



The original problem was x'=(-2 1; 1 -2)*x and I needed to find two linearly independent solutions.

Homework Equations


The Attempt at a Solution



I found that x1=(1;1)e^(-t) and x2=(1;-1)e^(-3t). Now I am trying to plot a vector field of this. Is there an easy way to do this using MATLAB or Maple or do i need to do each point by hand? I would like to avoid unnecessary headaches if possible.

Thanks
 
Physics news on Phys.org
There are many good tutorials on Matlab plotting on YouTube. Here is one related to vector field plotting.

 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K