what is function of [ ] in this code
古いコメントを表示
Here is the code
h1336=[];
L=50;
fs=8000;
fb=1336;
h1336 = (2/L)*cos(2*pi*fb*(0:L-1)/fs);
[H,F] = freqz(h1336,1,[],fs);
What does this bracket [ ] do in freqz command
採用された回答
その他の回答 (1 件)
Walter Roberson
2011 年 10 月 21 日
If you do not specify the integer n, or you specify it as the empty vector [], the frequency response is calculated using the default value of 512 samples.
カテゴリ
ヘルプ センター および File Exchange で Image Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!