why can´t i use some functions such as a "hanning" or a "blackman" window even some others like "imnoise" or" RGB2gray"? (i have the r2014a version)
66 ビュー (過去 30 日間)
古いコメントを表示
function vent(n)
xrw=rectwin(n);
xhn=hanning(n);
xhm=hamming(n);
xbk=blackman(n);
figure
subplot(2,2,1)
stem(xrw,'y')
subplot(2,2,2)
stem(xhn,'k')
subplot(2,2,3)
stem(xhm)
subplot(2,2,4)
stem(xbk,'r')
0 件のコメント
回答 (1 件)
Geoff Hayes
2014 年 11 月 17 日
Rodrigo - for functions like hanning and blackman, you need the Signal Processing Toolbox. For a function like imnoise and rgb2gray (R2014a) you need the Image Processing Toolbox.
To see if these toolboxes are installed with your version of MATLAB, in the Command Window type
ver
Do you see these toolboxes?
(Note that rgb2gray now seems to be a part of base MATLAB as of R2014b.)
参考
カテゴリ
Help Center および File Exchange で Blackman についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!