File:Simple time domain vs frequency domain.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 512 × 398 pixels, file size: 30 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionSimple time domain vs frequency domain.svg |
English: Top:Example of a simple signal, comprised of two sine function.
Bottom: The fourier-transformation if the same signal. Deutsch: Oben: Ein einfaches Beispielsignal, bestehend aus zwei zusammenaddierten Sinusfunktionen.
Unten: Die Fouriertransformierte desselben Signals (vereinfachte Darstellung als kontinuierliche Linie). Die Fouriertransformierte, wird häufig "im Frequenzraum" oder "das Frequenz-Spektrum" genannt. Für mathematische Zwecke ist es wichtig, die *digital* berechnete Fouriertransformation als solche zu kennzeichnen. Daher spricht man hier häufig bewusst auch von einer DFT oder eben FFT. |
| Date | |
| Source | Own work |
| Author | Accountalive |
| SVG development InfoField | |
| Source code InfoField | R codef <- function(x)
{
noise <- rnorm(1,0,0.05)
a <- sin(10*x)
b <-2*sin( x)
a+b
}
xr <- 20
res <- 10240
x <- seq(0,xr*2*pi,length.out=res)
y <- rep(0, length(x))
for( i in 0:length(x))
{
y[i] <- f(x[i])
}
ft <- abs(fft(y))
old.par <- par(mfrow=c(2, 1), yaxt="n", mgp=c(2,1,0), bty='l')
tToIndex = xr/res
tValues = ((1:length(y))-1) * tToIndex
plot(tValues,y,t='l', xlab="Zeit in s", ylab="signal",xlim=c(1,6),main="signal = 2 sin x + sin 10x ")
freqToIndex = xr
xvalues = ((1:length(ft))-1) / freqToIndex
plot(xvalues, ft,type='l'
,xlim=c(0,11), xlab='Frequenz in Hz', ylab="
|
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
| This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
| The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
Captions
Example of a signal and its fourier-transformation, computed via FFT.
Beispiel eines Signals und seiner, Fouriertransformierten, berechnet via FFT.
Items portrayed in this file
depicts
some value
22 April 2021
image/svg+xml
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 09:58, 12 December 2022 | 512 × 398 (30 KB) | wikimediacommons>VectorVoyager | forgot to add "it" at line 104 |
File usage
There are no pages that use this file.