📄 figures1.m
字号:
% Embedded Control Systems in C/C++
% by Jim Ledin
%
% Chapter 9 - Figures 9.1 and 9.2.
clear all
close all
% One-dimensional lookup table
y = [0.2 0.4 0.7 0.8 0.67 0.4 0.6 0.9];
x = [0:0.1:0.7];
stem(x,y, 'k', 'filled')
axis([-0.05 0.75 0 1])
xlabel('Input')
ylabel('Output')
% Linear breakpoint interpolation
figure
stem(x,y, 'k', 'filled')
axis([-0.05 0.75 0 1])
xlabel('Input')
ylabel('Output')
hold on
plot(x,y, 'k')
hold off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -