Scaled Windowing Function

Creates scaled window of set size.
2,2K Downloads
Aktualisiert 27. Mai 2005

Lizenz anzeigen

function to calculate window centered at the zero segment of outwind size

WFUNC - windowing function from the list:
'barthannwin' 'bartlett' 'blackman' 'blackmanharris' 'bohmanwin'
'gausswin' 'hann' 'nuttallwin' 'parzenwin' 'triang' 'hamming' 'flattopwin'

OUTWIND - length of the OUTPUT total window segment (padded with zeros
if OUTWIND> INSIDEWIND or truncated INSIDEWIND if OUTWIND < INSIDEWIND

INSIDEWIND - length of the windowing function centered in OUTWIND

EXAMPLE:

windd1 = partwind('flattopwin', 20, 60);
windd2 = partwind('flattopwin', 60);
windd3 = partwind('flattopwin', 90, 60);
figure; plot(windd1, 'r.-'); hold on; plot(windd2, 'b+-'); plot(windd3, 'ko-'); grid; axis tight
legend('insidewind<outwind', 'insidewind=outwind', 'insidewind>outwind')

Zitieren als

Sergei Koptenko (2024). Scaled Windowing Function (https://www.mathworks.com/matlabcentral/fileexchange/7723-scaled-windowing-function), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R14SP1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0