ploting 2d graph of a vector
14 views (last 30 days)
Show older comments
Edited: adam hafzadi on 15 May 2021
I am trying to plot a vecotr (a solution of deritinal eqution) somting like those:
Where A B are contecst ( so i am trying to see serveral function)
thanks a lot, Adam.
Chad Greene on 14 May 2021
You've pretty much got it, but you'll need to define a range of t values, and a value for the constants A, and B. You also need to use the * symbol for multiplication.
t = 0:0.1:10; % a range of t values from 0 to 100, steps of 0.1
A = 1;
B = 2;
You may also want to set the vertical scale to log scale:
More Answers (1)
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!