How to generate N band limited signals in Matlab each time signal being unique (NOT BY TOGGLING Freq)

3 次查看(过去 30 天)
I tried the following code for frequency toggling
function [X,w] = generate_signal(N)
X = cell(1,N);
rng('shuffle');
w = randi([1,10],1,N);
for k = 1:length(w)
X{k} = @(t)((sin(w(k).*t) + sinc(w(k).*t) + cos(w(k).*t))./max(sin(w(k).*t) + sinc(w(k).*t) + cos(w(k).*t)));
end
end
Is there any way to ensure all signals are unique. Toggling amplitude would be useless since, it is normlised.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by