由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - LabVIEW问题:对高手来说很简单!
相关主题
重复利用threads的问题new and delete in c++
how to assign new value to loop variables?c#中,如何写1个for loop得出"aa","ab","ac",..."zz"的所有组合?
请教一道练习题(C,OS)How can matlab loop over functions
【包子求助】20M*20M的loop怎么搞?问一下c++输入问题
如何实现N层循环嵌套请问遍历树可以用for loop来完成吗?
Perl 6 改动很大很恶心Do the two statements cost the same amount of time?
how to use array to simulate multi loopsa SQL question, help!!!!!!!
如何让C程序在运行时接受键盘控制而终止?一个JAVA程序请教
相关话题的讨论汇总
话题: labview话题: data话题: loop话题: signal话题: fft
进入Programming版参与讨论
1 (共1页)
D******6
发帖数: 841
1
It should be a very easy question for you professional, but I am just a
LabVIEW beginner. I've written a LabVIEW program to take data, X v.s. Y,
from my instruments. The main part is a For-Loop in my VI, it generates one
pair of X & Y data point at each loop, after N loops it ends, then there are
N data points of X and Y. Actually for my project, this X data is time
value, and the Y data is the corresponding signal value. Then, after this
loop ends, how can I do an FFT of this time-domain signal
s***g
发帖数: 437
2
MathScript node or Matlab script node

one
are
Please

【在 D******6 的大作中提到】
: It should be a very easy question for you professional, but I am just a
: LabVIEW beginner. I've written a LabVIEW program to take data, X v.s. Y,
: from my instruments. The main part is a For-Loop in my VI, it generates one
: pair of X & Y data point at each loop, after N loops it ends, then there are
: N data points of X and Y. Actually for my project, this X data is time
: value, and the Y data is the corresponding signal value. Then, after this
: loop ends, how can I do an FFT of this time-domain signal

a****l
发帖数: 8211
3
First, you may forget about the time, unless the sample interval is not even
. Just wire the Y data out to the border of for loop, which should auto-
index to an array. (You might need to use UnbundleByName from Array&Clusters
to extract the Y from the pair). After you get the Y array, just do the fft
and power spectrum calculation(assuming you know the math of calculating
all those things).Under Signal Processing section, there is built-in
function for fft and other spectrum calculation.

one
a

【在 D******6 的大作中提到】
: It should be a very easy question for you professional, but I am just a
: LabVIEW beginner. I've written a LabVIEW program to take data, X v.s. Y,
: from my instruments. The main part is a For-Loop in my VI, it generates one
: pair of X & Y data point at each loop, after N loops it ends, then there are
: N data points of X and Y. Actually for my project, this X data is time
: value, and the Y data is the corresponding signal value. Then, after this
: loop ends, how can I do an FFT of this time-domain signal

1 (共1页)
进入Programming版参与讨论
相关主题
一个JAVA程序请教如何实现N层循环嵌套
怎么判断int a[]的array的实际长度?Perl 6 改动很大很恶心
why vb code faster than csharp???how to use array to simulate multi loops
Any possibility to make this expression faster?如何让C程序在运行时接受键盘控制而终止?
重复利用threads的问题new and delete in c++
how to assign new value to loop variables?c#中,如何写1个for loop得出"aa","ab","ac",..."zz"的所有组合?
请教一道练习题(C,OS)How can matlab loop over functions
【包子求助】20M*20M的loop怎么搞?问一下c++输入问题
相关话题的讨论汇总
话题: labview话题: data话题: loop话题: signal话题: fft