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 Center および File ExchangeDiscrete Fourier and Cosine Transforms についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by