how to plot v=exp(-5*t)*(-2*cos(14*t)+(exp(-5*t)*(0.068*sin(14*t)))+10);
Show older comments
how to plot v=exp(-5*t)*(-2*cos(14*t)+(exp(-5*t)*(0.068*sin(14*t)))+10);
Answers (5)
Carlos Acosta
on 20 Dec 2015
First you must create a array t, this array has the posible values of t. By example, if you want plot t in the interval [0,10] with 1001 points in the interval, use the next code:
t=linspace(0,10,1001);
Next you must calculate the value of v to each element of the vector t, use this code:
v=e.^(-5*t).*(-2*cos(14*t)+(e.^(-5*t).*(0.068*sin(14*t)))+10);
The last command is plot:
plot(t,v);
Walter Roberson
on 20 Dec 2015
0 votes
yasmin abdelaal
on 14 Dec 2022
0 votes
For each one of the following signals:
1. x(t) = cos (2πt/5) + sin(2πt/15)
2. g(t) = e^tu(t)
3. v(t) = {2, −5 ≤ t < −1
−2sin(πt), −1 ≤ t < 0
2sin (πt), 0 ≤ t < 1
−2, 1 ≤ t < 5
Using MATLAB:
a) Plot the signal
b) Find whether the signal is power or energy signal or neither power nor energy.
c) Plot the instantons energy or power & fill the area under the curve.
d) Compute the size of the signal
1 Comment
Walter Roberson
on 17 Jan 2023
I do not understand how this answers the question that Othman posted?
Ravi
on 17 Jan 2023
0 votes
Generate the following signal using MATLAB/Python and plot to visualize the
generated signal. Also, use the “sound” command to observe the evoked sensation.
5exp(-2t) * sin(2πft) where, f=20 Hz and total time duration 3 seconds.
1 Comment
Walter Roberson
on 17 Jan 2023
I do not understand how this answers the question that Othman posted?
Faizan Rashid
on 23 Mar 2023
0 votes
h(t) = 2[3exp(2t)-exp(-2t)]/[3exp(2t)+exp(-2t)]
2 Comments
Walter Roberson
on 23 Mar 2023
No, that is not valid MATLAB syntax: MATLAB has no implied multiplication. This will not solve the problem that was asked for.
Walter Roberson
on 23 Mar 2023
Note that in practice you will probably need to use ./ instead of /
Categories
Find more on Parametric Modeling 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!