Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Homework 1 - Linear Systems, Assignments of Linear Control Systems

answers for first order ODE on matlab

Typology: Assignments

2022/2023

Uploaded on 10/08/2023

ryan-riley
ryan-riley 🇺🇸

1 document

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Question 1) ii.
pf3

Partial preview of the text

Download Homework 1 - Linear Systems and more Assignments Linear Control Systems in PDF only on Docsity!

Question 1) ii.

Question 1) iii.

Question 1) ii. ode = @(t, x) [x(2); -2*x(2) - 5*x(1)];3 initial_conditions tspan = [@, 16]; [t, X] = ode45(ode, xl = X(:, 1)5 plot(t, x1); xlabel('Time (t)'); ylabel(‘x_1(t)"); title( ‘Solution of = [13 -1]; tspan, initial_conditions); yi" + 2y"" + Sy = B')5 Solution of y' + 2y' + Sy =0 0.4 4 4