How is calculated the determinant of a matrix containing a fourier transform?

Hi everyone. Let's assume that there are two paired differential equations as shown in equations 1 and 2 and that these equations are solved, that is, the values ​​of A and B are known. However, to find the behavior of and in the frequency domain, the time derivatives of these equations are taken by taking the Fourier transform to obtain equations 3 and 4. Then, when the linear equation system is formed using equations 3 and 4, how is jw calculated when finding the determinant of the coefficient matrix of the system?
Sample number: N=1024 and Sample frequency: Fs=4kHz
(1)
+ (2)
(3)
(4)
(5)

3 Kommentare

sorry, i rearranged equation 5
(5)
Torsten
Torsten am 8 Jul. 2025
Bearbeitet: Torsten am 8 Jul. 2025
I thought you want to reconstruct F_A(omega) and F_B(omega) given A(omega) and B(omega). So why do you need a determinant to do this ? You can simply solve equation (3) for F_A(omega) and equation (4) for F_B(omega) (after computing the Fourier Transforms of A(t) and B(t)).

What I want to learn is how to calculate jw? w=2*pi*Fs/1024*(0:Fs/2)?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Matt J
Matt J am 8 Jul. 2025
Bearbeitet: Matt J am 8 Jul. 2025
N=1024; Fs=4000;
f=(0:(N-1-ceil((N-1)/2)))/N*Fs;
jw = 1j*2*pi*f;
determinant = (jw-x2).*y1 - (jw-x1).*y2 ;

8 Kommentare

thanks your answer. Do the jw frequencies in your answer represent the frequencies used in the FFT?
Matt J
Matt J am 8 Jul. 2025
Bearbeitet: Matt J am 8 Jul. 2025
thanks your answer.
You're welcome. Please Accept-click the answer if it resolves your quesiton.
Do the jw frequencies in your answer represent the frequencies used in the FFT?
Yes, the right-half spectrum.
Well, isn't jw in your answer the same as w=2*pi*Fs/N*linspace(0,Fs/2,N/2) for the right-half spectrum?
The spacing between the frequency samples needs to satisfy the equation
Let's check if your proposal satisfies this:
N=1024; Fs=4000;
w=2*pi*Fs/N*linspace(0,Fs/2,N/2);
dw=w(2)-w(1);
dw - 2*pi*Fs/N
ans = 71.5177
Nope.
Now let's check mine:
w=2*pi*(0:(N-1-ceil((N-1)/2)))/N*Fs;
dw=w(2)-w(1);
dw - 2*pi*Fs/N
ans = 0
Erkan
Erkan am 8 Jul. 2025
Verschoben: Torsten am 8 Jul. 2025

Got it. thanks

Hi Matt, i have a question. As far as I know, the frequency range used in FFT is -Fs/2 to Fs/2. In this range, when jw=(-Fs/2:Fs/N:Fs/2)*2*pi), the number of samples of jw is 1025. But it should be 1024. How can I do this?
The general formula for the (two-sided) discrete frequency axis is,
NormalizedAxis = -ceil((N-1)/2) : +floor((N-1)/2);
deltaOmega=2*pi*Fs/N; %frequency sample spacing
w=deltaOmega*NormalizedAxis;
ok. Thank you very much

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 8 Jul. 2025

Kommentiert:

am 9 Jul. 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by