MODELLING
generates a stochastic process with given specs.
ex:
U(m) → H(jω) → X(m)
U(m) ∼ WN(0,σ²)
white noise
ex:
- y1 = α + β x1 + ϵ1
- y2 = α + β x2 + ϵ2
- ...
- yk = α + β xk + ϵk
⇒
[ y1 y2 ... yk ] = [ 1 x1 1 x2 ... 1 xk ] [ α β ]
Y = A [ α β ]
⇒ (ATA)-1 ATY = [ α β ]
LEAST SQUARES min Σi (yi - α - βxi)²REGRESSION
MODELLING
generates a stochastic process with given specs.
ex:
U(m) H(jw) X(m)
U(m) ~ WN(0, σ2)
white noise
ex:
y1 = α + β x1 + ε1
y2 = α + β x2 + ε2
⋮
yk = α + β xk + εk
[ y1 ]
[ y2 ]
[ ⋮ ] =
[ yk ]
[ 1 x1 ] [ α ]
[ 1 x2 ] [ β ]
[ ⋮ ]
[ 1 xk ]
Y = A [ α ]
[ β ]
⇒ [ATA]-1ATY = [ α ]
[ β ]
LEAST SQUARES
min Σi(yi - α - βxi)2
REGRESSION
ex: T = temp. Trento
R = temp. Rovereto
T̂ = α + βR
estimated temp. in Trento
mean square error
MSE = E\left( (T - T̂)^2 \right) = E\left( (T - α - βR)^2 \right) =
= E(T^2 + α^2 + β^2 R^2 + 2 αβR - 2Tα - 2TβR) =
= E(T^2) + α^2 + β^2 E(R^2) + 2αβE(R) - 2αE(T) - 2βE(TR)
⟹ \frac{\partial MSE}{\partial α} = 2α + 2βE(R) - 2E(T) = 0
⟹ α = E(T) - βE(R)
⟹ \frac{\partial MSE}{\partial β} = 2βE(R^2) + 2αE(R) - 2E(TR) = 0⟹ β = \frac{E(TR) - αE(R)}{E(R^2)}
α, β that minimize the MSE!
L = E(T)E(R2) - E(R)E(TR)⁄E(R2) - E(R)2 = MT(σR2+μR2)-MR(βσRσT+μT)⁄σR2-μT-βμRσT⁄σR
β = E(TR) - E(R)E(T)⁄E(R2) - E(R)2 = ρσT⁄σR
E(T) = μT
E(R) = μR
E(R2) = σR2 + μR2
σR2 = E((R-E(R))2) = E(R2) - E(R)2
E(TR) = ρσRσT + μRμT
coeff. of correlation
Ẑ = μT + ρσT⁄σR(R-μR)
MSE = E((T - (α + βR))2) = (1 - 2)σT2
β = ±1 → linear relation & MSE = 0
β = 0 → MSE = σT2
no linear relation (doesn't give any information at all)
we know exactly the temp. in Pinerolo)
d2x(t)d(t2)
+ 5dx(t)dt
+ 3x(t) = 4sin(t)
x(0) = 1
dx(t)dt
|t=0 = ẋ(0) = 2
x(t) => x (nΔt)
generating sequence in DT
(Euler approximation)
[Diagram of x(t) with Δt intervals and t axis]
Euler approx
(forward approx rule)
dx(t)/dt ≈ (x(t+Δt) - x(t))/Δt
d2x(t)/dt ≈ ((x(t+2Δt) - x(t+Δt))/Δt - (x(t+Δt) - x(t))/Δt)/Δt =
= (x(t+2Δt) - 2x(t+Δt) - x(t))/Δt2
x(0) = 1
x(Δt) = 2Δt + 1
x(2Δt) = 2x(Δt) + x(0) + 5Δt(x(Δt) - x(0)) + 3Δt2x(0) = 4Δt2sin(0)
x(2Δt) = (2 - 5Δt)x(Δt) + (5Δt - 3Δt2 - 1)x(0) + 4Δt2sin(0)
In general:
×(M Δt) = (2 - 5Δt) × ( (m-1) Δt ) + (5Δt - 3Δt2 - 1) × ( (m-2) Δt ) +
+ (4Δt2) ńm ( (m-2) Δt )
×(m) = a1 ×(m-1) + a2 ×(m-2) + b2
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
Scarica il documento per vederlo tutto.
-
Digital Signal Processing (DSP)
-
Esercizi Digital Signal Processing (DSP)
-
Appunti Circuiti e Algoritmi per il Digital Signal Processing
-
Circuiti e Algoritmi per il Digital Signal Processing, Prof. Stefano Squartini, Tutti gli argomenti del corso