Hello, I'm trying to plot this function but I totally have no idea how to write the code.

 Réponse acceptée

Star Strider
Star Strider le 3 Oct 2021

0 votes

Since you’re obviously using the Symbolic Math Toolbox, use the fplot function.
.

4 commentaires

rachel cheng
rachel cheng le 3 Oct 2021
Can you write the code?
Not for your problem, specifically because I have no idea what it is, however I can illustrate the approach —
syms s t
H(s) = 1/(s^2 + 2*s + 10)
H(s) = 
h(t) = ilaplace(H,s,t)
h(t) = 
figure
fplot(h, [0 2*pi])
grid
Experiment to get the result you want.
.
rachel cheng
rachel cheng le 3 Oct 2021
thx
Star Strider
Star Strider le 3 Oct 2021
As always, my pleasure!
.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by