Created
April 12, 2016 06:44
-
-
Save Sinitca-Aleksandr/13ab1f7911dd93995f5bcf9c0addb1f3 to your computer and use it in GitHub Desktop.
Быстрое построение фазового портрета simulink модели
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hold on | |
for dx0=-2:1:2 % Диапазон начальных значений по скорости (первой производной) | |
for x0=-5:1:5 % Диапазон начальных значений по углу | |
sim('pendulum') % Имя simulink модели | |
plot(x,dx) | |
end | |
end | |
hold off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment