Dimension of the workspace array
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Johan Johan
am 29 Apr. 2018
Beantwortet: Walter Roberson
am 29 Apr. 2018
l have this matlab code :
N=51;
f=[linspace(-1,-.18,164),linspace(-0.1,0.3,80),linspace(.38,1,124)];
d=[zeros(1,164),ones(1,80),zeros(1,124)].*exp(-1i*pi*f*(N-1)/2);
What is the method to find function have 51 x 386 complex double if f is 368 x 1 double and d is 368 x 1 complex double .
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 29 Apr. 2018
d=[zeros(1,164),ones(1,80),zeros(1,124)].*exp(-1i*pi*f.*((1:N).'-1)/2);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Whos finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!