I have a problem in plotting ilaplace!!
Mostra commenti meno recenti
I have a problem in plotting ilaplace!! Any help?
clear, clc;
syms s t
C11=-0.0564834; C12= 0.249474;
C21= -1.22098; C22=-0.577793;
U(s)=vpa(( (2.7671-C11./C21).*s -(1./C21).*s.^3 )/( -s.^4./C21 -( (C22-C11)./C21 ).*s.^2 + C12-C11.*C22./C21 ));
u(t)=vpa(ilaplace(U(s)));
figure;
fplot(u(t),[0 3])
2 Commenti
Manas
il 15 Giu 2023
Hi Iqbal,
What problem are you facing with your code?
The code seems to be working fine here.
Do you have the Symbolic toolbox which is required to run the code?
syms s t
C11=-0.0564834;
C12= 0.249474;
C21= -1.22098;
C22=-0.577793;
U(s)=vpa(((2.7671-C11./C21).*s -(1./C21).*s.^3 )/(-s.^4./C21 -( (C22-C11)./C21 ).*s.^2 + C12-C11.*C22./C21));
u(t)=vpa(ilaplace(U(s)));
figure;
fplot(u(t),[0 3])
Risposta accettata
Più risposte (2)
Iqbal Batiha
il 15 Giu 2023
0 voti
Iqbal Batiha
il 15 Giu 2023
0 voti
Categorie
Scopri di più su Calculus in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
