MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
返回测试信号生成的输入值
y = ramp(x)
y = ramp(x) 返回 x 的值。在 Test Sequence 或 Test Assessment 模块的测试步骤中使用 ramp 操作符。
y
x
ramp
示例
全部展开
在 Test Sequence 模块中,在测试步骤处于活动时输出一个值为 1 的恒定信号。
1
Test Sequence 模块输出等于 1 的信号:
在 Test Sequence 模块中,生成在测试步骤中每 3 秒增加一个单位的信号。
Test Sequence 模块输出等于 et/3 的信号:
et/3
测试步骤期间的值,指定为数值标量。
数据类型: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64
single
double
int8
int16
int32
int64
uint8
uint16
uint32
uint64
在 R2015a 中推出
heaviside | sawtooth | square | triangle
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处