01-23-2008 11:36 AM
01-24-2008 04:02 PM
01-29-2008 03:19 PM
Hello,
I read the articles sent, and also read this thread http://forums.ni.com/ni/board/message?board.id=170&message.id=275482&query.id=141666#M275482.
The VI posted there is working fine (I guess), but I wanted to get coherence using
| (B) |
where SAB is the cross power spectrum, SAA is the power spectrum of A, and SBB is the power spectrum of B.
I do not know why but I cannot get the same plot using the vi that gives coherence directly with my formula based approach.
The reason I am doing is that I want to add phase information to the formula. I also tried that in the attached vi (modified version of the vi posted at the other thread), but that does not seem to work either. I used the complex form of the SAB to be able to plot negative coherence values.
Please comment anything you think that might help.
I will greatly appreciate your help.
ilter
ps. VI and the test files are attached...Just convert txt to lvm.
01-30-2008 11:29 AM
01-30-2008 05:49 PM
Hello,
I found what was wrong. Just change averaging method from "Vector" to "RMS" and it works.
I am attaching the vi for others who may want to use.You can test it with the files above.