matlab中单个变量的级联波形

matlab中单个变量的级联波形,matlab,Matlab,我有3个信号: a = ecg(1000); // clean ecg with no noise b = a + noise1; // with noise component on the ECG c = a + noise2; // a,b,and c have the same dimension (1000x1) 现在,我想把串联的信号放到一个变量x上,这样x的输出将是: x = a concatenated with b; b concatenated with c; 如果级联

我有3个信号:

a = ecg(1000);  // clean ecg with no noise
b = a + noise1; // with noise component on the ECG
c = a + noise2; // a,b,and c have the same dimension (1000x1)
现在,我想把串联的信号放到一个变量x上,这样x的输出将是:

x = a concatenated with b; b concatenated with c;

如果级联是指串联,只需执行以下操作:

x = [a b c];

这只是将
a
b
c
分割在一起,使它们成为一个信号,三个信号并排排列。执行
ecg(1000)
创建
1 x 1000
向量。假设之后的噪声信号具有相同的维度,则上述语法应适用。

您所说的“级联”是什么意思?你是说连接吗?谢谢!是的,串联是正确的术语。=)