Simple_time_domain_vs_frequency_domain.svg
Size of this PNG preview of this SVG file:
512 × 398 pixels
.
Other resolutions:
309 × 240 pixels
|
618 × 480 pixels
|
988 × 768 pixels
|
1,280 × 995 pixels
|
2,560 × 1,990 pixels
.
Summary
Description Simple 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.en CC0 Creative Commons Zero, Public Domain Dedication false false |