Equalizing a digital signal, involving Matlab

AI Thread Summary
The discussion revolves around determining the input signal to a black box by analyzing the output signal and a test signal in the frequency domain using Matlab. The user understands that the transfer function H(ω) can be derived from the ratio of the output Y(ω) to the test input X(ω), but is unsure about the appropriate frequency to use for the exponential term in H(ω). They seek clarification on whether the frequency for this term should be the sampling frequency or another relevant frequency. The user is also open to sharing their Matlab code for further assistance in resolving their issue. Overall, the focus is on accurately identifying the frequency parameters needed for signal analysis in Matlab.
Inertigratus
Messages
123
Reaction score
0

Homework Statement


A signal goes through a black box and out comes another signal.
Now I have the signal that came out and need to find the signal that went into the black box.
This by analyzing a test signal and the output of that test signal.
The analysis is done in the frequency domain. The test signal is using one specific frequency.
The signals are sampled using a specific frequency (different from the test signal frequency).


Homework Equations


Y(ω) = H(ω)X(ω)


The Attempt at a Solution


I know how the output depends on the input, but decided not to write it here since it's not necessary for my questions.
So I can find H(ω) by doing the division Y(ω)/X(ω) using the test input and output.
However this only gives me H(ω0) where ω0 is corresponding to the specific frequency used only for the test signal.
Using additional information (that I haven't provided here) I can find constants that make up the frequency function H(ω) for all frequencies.
However, the constants are multiplied (to make H(ω)) by an exponential powered to iβω.
Now what I'm wondering is, what frequency should I use, what "ω" should the exponential be powered to?
The sampling frequency?
Maybe what I'm asking is, which frequency is the "real" output using? the one for which I'm trying to find the input.
To clarify, H(ω) looks something like this: A0 + A1e-2πfβ. Which is for all frequencies, but I'm working numerically in Matlab and am not sure which frequency "f" is.
Isn't it simply the sampling frequency for the signal?
It's probably difficult for you people to get into this problem without having worked with it, hope I made some sense atleast.
 
Physics news on Phys.org
Perhaps someone could take a look in Matlab?
I could send the code/files, it's not that much.
My code is pretty much finished, it's just that there's some (probably minor) mistake that I can't figure out.
Would be greatly appreciated!
 

Similar threads

Replies
1
Views
2K
Replies
4
Views
2K
Replies
3
Views
2K
Replies
6
Views
2K
Replies
5
Views
2K
Replies
6
Views
5K
Back
Top