questio1.m
来自「matlab 专业设计 源于课本的原文件 适合于编程人员」· M 代码 · 共 19 行
M
19 行
% Embedded Control Systems in C/C++
% by Jim Ledin
%
% Chapter 9 - Answers to Self-Test question 7
clear all
close all
load pend.txt
t = pend(:, 1);
theta = pend(:, 2);
x = pend(:, 3);
F = pend(:, 4);
subplot(311), plot(t, theta), legend('theta')
subplot(312), plot(t, x), legend('x')
subplot(313), plot(t, F), legend('F')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?