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

Smooth transition

已解决!
转到解答

Hello everyone!

basically I want to do what is in the picture attached.

I have an array of ones and zeros, which are later converted into waveforms. So I want these waveforms representing zero and one, when transiting the waveform representing 0 for waveform that is 1, and vice versa, has smooth transition. I've tried using filter, but it only applies to all signs, and not every 0 and 1. Someone help me?

Thanks!

 

Captura de ecrã 2015-05-4, às 17.24.03.png

0 项奖励
1 条消息(共 8 条)
4,391 次查看

Oversample your zeros and ones array, low pass filter to smooth it, THEN multiply by the sinusoid function.

0 项奖励
2 条消息(共 8 条)
4,377 次查看

I try to do that but doesn't work. I send you my code. do you understand my code?

0 项奖励
3 条消息(共 8 条)
4,363 次查看

I don't have LabVIEW on this machine, please post an image or VI snippet of your block diagram. Also, it would help if you tell me exactly in what way it 'doesn't work' .

0 项奖励
4 条消息(共 8 条)
4,359 次查看

Captura de tela 2015-05-05 13.42.51.png

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

Too small for me to read really, but it looks like you're 'filtering' individual samples? Pass the whole input array through the filter, but upsample it first.

0 项奖励
6 条消息(共 8 条)
4,334 次查看
解答
已被主题作者 marinajordao 接受

@marinajordao wrote:
I've tried using filter, but it only applies to all signs, and not every 0 and 1.

So, you have to tell your code to apply the window to every 0 and 1, here's a quick draft:

 

2015-05-05_windowing.PNG

 

0.PNG

1.PNG

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

Yes, This is exactly what I needed.

Thanks a lot guys!

0 项奖励
8 条消息(共 8 条)
4,310 次查看