6-16.m

来自「matlab图像程序.zip」· M 代码 · 共 10 行

M
10
字号
x = 0:.25:10;
subplot(211)
stairs(x,sin(x))
title('stairs函数应用示例')
subplot(212)
[xb,yb]=stairs(x,sin(x));                             
%返回plot函数的两个参数
plot(xb,yb)
title('plot函数实现stairs函数应用示例')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?