bonjour, qui peut m'expliquer ces instructions la :
step = N/10;
for k=N:-step:step
f2(k) = rand * 3100 + 300; % fréquence variable aléatoire [300-3400]
f2(k-1:-1:k-step+1) = f2(k);
end
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 function [X,f]=ctft(x,T) N=length(X) ; X=fftshift(fft(x,N)*(2*pi/N)); f=linspace(-1,1-1/N,N)/(2*T); endavec détail si possible puisque je me uis bloqué ici ,f2(k) = rand * 3100 + 300;
Partager