plot of inverse laplace of a function
105 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
azam ghamari
el 26 de Dic. de 2018
Comentada: Jerom John Shibu
el 3 de Mayo de 2021
Hi Guys
I am writing this code: but it doesn't plot, it gives me error.
Error using plot
Data must be numeric, datetime, duration or an array convertible to
double.
Error in test2 (line 43)
plot(t,h(t))
May every body know and inform me? Thanks
syms t
U=laplace(0.1*exp(2.44*t));
syms s
G=(s-2.44)/((s+5)*(s+6)*(s+7));
H=G*U;
t=1:0.01:100;
h(t)=ilaplace(H);
plot(t,h(t))
2 comentarios
Respuesta aceptada
madhan ravi
el 26 de Dic. de 2018
syms t s
U=laplace(0.1*exp(2.44*t));
G=(s-2.44)/((s+5)*(s+6)*(s+7));
H=G*U;
h=matlabFunction(ilaplace(H));
t=1:0.01:100;
plot(t,h(t))
![Screen Shot 2018-12-26 at 10.10.21 AM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/199751/Screen%20Shot%202018-12-26%20at%2010.10.21%20AM.png)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Assumptions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!