File:STFT colored spectrogram 125ms-de.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

STFT_colored_spectrogram_125ms-de.png(561 × 420 pixels, file size: 7 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: For the english version see STFT colored spectrogram 125ms.png
Deutsch: Dieses Bild ist eines von vier Spectogrammen des folgenden Signals:

abgetastet mit 400 Hz. Diese und die drei anderen Figuren wurden mit folgendem Matlab-Code erstellt, das auf dem stft script basiert, dass unter "User:Alejo2083/Stft script" gefunden werden kann:

clear all;

%sampling frequency
fc=400;
%duration of the signal
T=20;
%zero padding factor
my_zero=10;

%generate the signal
t=linspace(0,T,fc*T);
x=zeros(1,length(t));
%thresholds
th1=0.25*T*fc;
th2=0.5*T*fc;
th3=0.75*T*fc;
th4=T*fc;
x(1:th1)=cos(2*pi*10*t(1:th1));
x((th1+1):th2)=cos(2*pi*25*t((th1+1):th2));
x((th2+1):th3)=cos(2*pi*50*t((th2+1):th3));
x((th3+1):th4)=cos(2*pi*100*t((th3+1):th4));

%calculate and show the spectrograms
[spectrogram, axisf, axist]=stft(x,10,1,fc,'blackman',my_zero);
spectrogram=spectrogram/max(spectrogram(:));
figure,imagesc(axist,axisf,spectrogram),
title('Spektrogramm mit T = 25 ms'),
ylabel('Frequenz [Hz]'),
xlabel('Zeit [s]'), 
colorbar;

[spectrogram, axisf, axist]=stft(x,50,1,fc,'blackman',my_zero);
spectrogram=spectrogram/max(spectrogram(:));
figure,imagesc(axist,axisf,spectrogram),
title('Spektrogramm mit T = 125 ms'),
ylabel('Frequenz [Hz]'),
xlabel('Zeit [s]'), 
colorbar;

[spectrogram, axisf, axist]=stft(x,150,1,fc,'blackman',my_zero);
spectrogram=spectrogram/max(spectrogram(:));
figure,imagesc(axist,axisf,spectrogram),
title('Spektrogramm mit T = 375 ms'),
ylabel('Frequenz [Hz]'),
xlabel('Zeit [s]'), 
colorbar;

[spectrogram, axisf, axist]=stft(x,400,1,fc,'blackman',my_zero);
spectrogram=spectrogram/max(spectrogram(:));
figure,imagesc(axist,axisf,spectrogram),
title('Spektrogramm mit T = 1000 ms'),
ylabel('Frequenz [Hz]'),
xlabel('Zeit [s]'), 
colorbar;
Date
Source This file was derived from: STFT colored spectrogram 125ms.png
Author
The four spectrograms
25 ms window
125 ms window
375 ms window
1000 ms window

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:37, 24 August 2015Thumbnail for version as of 14:37, 24 August 2015561 × 420 (7 KB)Capricorn4049 (talk | contribs)User created page with UploadWizard

File usage on other wikis

The following other wikis use this file:

Metadata