LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Octave/ Matlab STFT

Hello, I am trying to implement STFT analysis with Octave and plot the max iteration. But the excepected plot is done by Labview unfortunately I do not have Labview access. My problem is when I compare octave plot and Labview plot, the Octave spectrum is slightly shifted to left as Labview. I need help and Idea, could you help me? Thanks in advance!
0 Kudos
Message 1 of 3
(2,485 Views)

You need to be more specific about terms such as "slightly". For example, if you are comparing array indices, LabVIEW starts at zero while in matlab the first element has index 1. Still if you correctly transform array indices to frequency and time, there should be no difference.

Can you attach files with your data and the transform obtained in the two environments so we can have a look.

 

STFT does not use any "iterations", so it is not clear what you are saying. show us some code.

0 Kudos
Message 2 of 3
(2,465 Views)

Hi Altenbach,

thanks for your reply. see my attached plot please at 1KHz and you can see what i mean "slightly". In my attached you can find the octave code, my plot and excpected plot. Do you have some Idea now. Thank you very much.

 

0 Kudos
Message 3 of 3
(2,451 Views)