Can anyone help me in removing the ERROR shown in output figure?

1 vue (au cours des 30 derniers jours)
ruqaiya shaikh
ruqaiya shaikh le 19 Jan 2021
Réponse apportée : amin le 20 Jan 2021
clc;
close all;
syms s;
F =(s+1)/(s*(s+2));
%Laplace transform
f=laplace(F)
pretty(simplify(f))
fplot(f,[-1,4],'r-')
hold on
%Inverse Laplace transform
fi=ilaplace(F)
pretty(simplify(fi))
fplot(fi,[-1,4],'b-')
hold off
title('F =(s+1)/(s*(s+2))');
legend('Laplace transform','Inverse Laplace transform')
grid;

Réponses (1)

amin
amin le 20 Jan 2021
You can turn off the warnings by:
warning off

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by