Plotting Systems in Matlab: x_1(t),x_2(t) w/ Complex Equations

  • Context: MATLAB 
  • Thread starter Thread starter Tom McCurdy
  • Start date Start date
  • Tags Tags
    Matlab Plot System
Click For Summary
SUMMARY

This discussion focuses on plotting complex equations in MATLAB, specifically the functions x_1(t) and x_2(t) defined as x_1(t)=c_1e^{-t}+c_2*e^{3t} and x_2(t)=-c_1e^{-t}+c_2*e^{3t}. Users are encouraged to utilize MATLAB's plotting capabilities to visualize these equations, particularly when dealing with more complex forms like x_1(t)=5*e^{5t}(c_1 cos(4t)+c_2sin(4t). The discussion highlights the importance of understanding MATLAB's plotting functions, such as the 'plot' command, to effectively represent these mathematical models.

PREREQUISITES
  • Basic understanding of MATLAB programming
  • Familiarity with exponential and trigonometric functions
  • Knowledge of complex equations and their representations
  • Experience with MATLAB's plotting functions
NEXT STEPS
  • Learn MATLAB's 'plot' function syntax and options
  • Explore MATLAB's 'help' command for detailed function documentation
  • Investigate MATLAB's capabilities for plotting parametric equations
  • Study examples of visualizing complex mathematical models in MATLAB
USEFUL FOR

Mathematics students, engineers, and researchers who need to visualize complex equations using MATLAB's plotting tools will benefit from this discussion.

Tom McCurdy
Messages
1,021
Reaction score
1
How would you plot

[tex]x_1(t)=c_1e^{-t}+c_2*e^{3t}[/tex]
[tex]x_2(t)=-c_1e^{-t}+c_2*e^{3t}[/tex]

and similar systems in Matlab?

For example if it was complex like:

[tex]x_1(t)=5*e^{5t}(c_1 cos(4t)+c_2sin(4t))[/tex]
[tex]x_2(t)=5*e^{5t}((2 c_1+4 c_2) cos(4t)+(4 c_1 - 2 c_2)sin(4t))[/tex]
 
Physics news on Phys.org
in MATLAB type:
help plot
 

Similar threads

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