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

조회 수: 1 (최근 30일)
ruqaiya shaikh
ruqaiya shaikh 2021년 1월 19일
답변: amin 2021년 1월 20일
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;

답변 (1개)

amin
amin 2021년 1월 20일
You can turn off the warnings by:
warning off

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by