取消
显示结果 
搜索替代 
您的意思是: 

convert square wave to sinc wave

已解决!
转到解答

Can anyone please show me how to convert square wave to sinc wave?

0 项奖励
1 条消息(共 61 条)
9,003 次查看

What is generating the square wave?  Is it by code or by an external instrument?  What will generate the sine wave, code or instrument?  What kind of hardware is involved?

- tbob

Inventor of the WORM Global
0 项奖励
2 条消息(共 61 条)
8,979 次查看
解答
接受人 keni

Sinc function

 

Aargh! I hate it when I press the wrong button... Taking the fourier transform of a square wave gives you a sinc function.

3 条消息(共 61 条)
8,971 次查看

Sine, sinc,  OMG,  吃惊表情  I need glasses.

- tbob

Inventor of the WORM Global
0 项奖励
4 条消息(共 61 条)
8,966 次查看

Thank you guys. I am just using LabView to generate square wave and convert it to the sinc (sync). 

 

Is there any function that will convert pulse into ECG ( Electro Cardio Gram) signal in labview?

0 项奖励
5 条消息(共 61 条)
8,947 次查看

No, you will have to write your own.  Search this forum for ECG.  I remember seeing several posts about it.

Once your code is somewhat written, we can help with problems you might have.

- tbob

Inventor of the WORM Global
0 项奖励
6 条消息(共 61 条)
8,944 次查看

Thank you again. I have been given a simple project of converting square wave to look like ECG signal. 

What I am thinking is adding sine wave to first 1/4 cycle, adding triangle wave to 2/3 cycle, and adding sine wave to rest 1/4 cycle. Do you think it's possible? How do I go about doing this?

0 项奖励
7 条消息(共 61 条)
8,929 次查看

While it's possible to do what you're describing, I don't think the results will be all that satisfactory. An ECG signal is a bit more complicated than that. You're probably going to be better off looking (i.e. Google) to see if you can find an ECG waveform simulator/generator.

0 项奖励
8 条消息(共 61 条)
8,915 次查看

Use the wave generator funtions found in palette Signal Processing - Waveform Generation.  There are sine and triangle waveform generating functions there.  You can set the number of samples and sample rate such that it would generate a partial waveform.  Then you use Get Waveform Components to get the Y values, concat the values, then use Build Waveform to build it back to a waveform.  You will get a back to back output.  In the following example, I used a sine and square wave because a sine and triangle were too close in appearance and you could not readily see the effect.

 

19413iD726E8314777A307

 

As Smercurio says, I don't think this is a very good representation of an EKG signal.  That signal has P, QRS, and T waves.  There is no sine wave.  The waves are like triangle waves, so just put DC waveforms (0 amplitude square wave) ahead of and in between triangle waves for P, QRS, and T, followed by DC.

 

- tbob

Inventor of the WORM Global
0 项奖励
9 条消息(共 61 条)
8,912 次查看

There is an ECG simulator module in the NI Biomedical Starter Kit.  You can find more information about this free download by visiting our Biomedical User Group located at www.ni.com/biomedusers

 

Steve

0 项奖励
10 条消息(共 61 条)
8,897 次查看