X(t)=0.1179e-25.2tsin(50t+0.3224π } Use MATLAB to Plot X (t)with time and determine the amplitude and phase angle of the transient response within the system
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Find amplitude and phase angle and plot X(t) wrt time ?
0 Commenti
Risposta accettata
Sam Chak
il 25 Dic 2023
Hi @Talha
I wanted to help, because you probably wouldn't be asking this question if you already knew which MATLAB functions to use for finding the amplitude and phase angle. MATLAB offers numerous built-in functions. I need to know what the amplitude and phase angle are, and then I can likely identify the appropriate function for the task.
Could you sketch or mark the amplitude and phase angle? However, there is an issue with plotting the equation you supplied for . Please fix the equation so that we can continue our meaningful discussion.
X = @(t) 0.1179e-25.2*t.*sin(50*t + 0.3224*pi); % your original equation, π is replaced by 'pi'
t = 0:0.001:0.5; % specify the time span from 0 to 0.5 with time step of 0.001
plot(t, X(t)), grid on % plot X(t) and enable grid
By the way, I don't have a math dictionary for '0.1179e-25.2'. Could you check your textbook? It might be a typo from the printing process.
5 Commenti
Sam Chak
il 25 Dic 2023
Oh I see. It's the exponential e. Now, please sketch or mark the amplitude and phase angle of the transient response on the image of the plot. I think the transient lasts between 0 to 0.2 sec.
X = @(t) 0.1179*exp(-25.2*t).*sin(50*t + 0.3224*pi); % your original equation, π is replaced by 'pi'
t = 0:0.001:0.2; % specify the time span from 0 to 0.2 with time step of 0.001
plot(t, X(t)), grid on % plot X(t) and enable grid
xlabel t, ylabel X(t)
Più risposte (1)
Sulaymon Eshkabilov
il 25 Dic 2023
Do these steps:
(1) Initialize t:
(2) Compute: X(t)
(3) Plot: t vs. X:
(4) Compute magnitude:
(5) Compute phase angle:
4 Commenti
Dyuman Joshi
il 25 Dic 2023
@Talha, no one here will do your homework for you. If you want help, you'll have to show some effort.
@Sulaymon Eshkabilov has already been provided with information on how to proceed. You should try implementing it.
If you are new to programming with MATLAB, I suggest you take the free MATLAB Onramp tutorial and learn the basics of MATLAB.
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!