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

3 views (last 30 days)
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.

Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!