ploting 2d graph of a vector
8 views (last 30 days)
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: