Error "gausswin requires Signal Processing Tool"
11 次查看(过去 30 天)
显示 更早的评论
I have an issue while using the command "Stamps (2,2)". Could you please help me with this problem? Here's what happens:
gausswin requires Signal Processing Toolbox.
Error in clap filt (line 47)
B=gausswin(7) *gausswin(7) ' ;
Error in ps est gamma quick (line 225)
ph_filt(:,:,i)=clap_filt(ph_grid(:,:,i),clap_alpha, clap_beta,n_win*0.75,n_win*0.25,
Error in stamps (line 326)
ps_est_gamma_quick (est_gamma_parm);
1 个评论
Mathieu NOE
2024-11-18,16:27
hello
as the error message tells you you probably don't have access to the Signal Processing Tbx (could be useful if you work a lot with signals , BTW)
a simple workaround is to create you own gaussian window function as shown below
NB , as I was very lazzy , I didn't used the "alpha" in the parameters but you can easily change my code if you need :
N = 7;
w = gauss_window(N);
plot(w)
function w = gauss_window(N)
L = N-1;
n = (0:L)'-L/2;
alpha = 2.5; % Default value for Alpha
w = exp(-(1/2)*(alpha*n/(L/2)).^2);
end
回答(1 个)
Steven Lord
2024-11-18,16:18
The gausswin function is part of Signal Processing Toolbox. Do you have this toolbox installed and licensed? To check if you have it installed use the ver function.
ver signal
To check if you have it licensed, use license.
license test signal_toolbox
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!