02-24-2007 01:33 PM
02-26-2007 09:33 PM
Hi madgreek,
Can you determine the number of samples of which each section is
comprised? If you can, you can use this number as the input to the count
terminal on the for loop, and create an array within this for loop. You
can then surround this code by another for loop that runs 3 times, one for each
section.
If this is not what you are looking for, can you please clarify the problem
statement? I'm not sure that I fully understand what you are trying to
do.
Best of luck on your application, and have a great day!!
02-26-2007 10:35 PM
02-27-2007 09:19 PM - edited 02-27-2007 09:19 PM
Hi madgreek,
I'm not sure if I understand you correctly, but are you trying to get a subset
of the original array that has only the non-zero elements in it? I
believe that you are trying to get this non-zero array, then process it like
you processed your original waveform. If my assumption is correct, then
the following screenshot should give you a starting point. The picture
below shows you how to create a VI that will extract only non-zero elements
from an array and build a new one.
Please let me know if this was not what you were looking for, and I'll be more
than happy to help you out. Best of luck on your application, and have a
great day!!
Message Edited by cphuong on 02-27-2007 09:20 PM
02-27-2007 10:32 PM
02-28-2007 07:24 PM
Hi madgreek,
I took a look at your code, and I think the issue is that since you have an
index of 0, you are always getting data that starts at the same
location in the array. You are always getting data from the beginning of
the array, instead of the next section of the array that you would like to
analyze.
I have to admit, I am still a bit confused, but I hope that my observation of
the issue can help you. Maybe a simple example of what you are trying to
do, in very general terms (not using voiced and unvoiced signals) may help me
better understand. I apologize for not being able to help you more, but
please feel free to let me know if you have any further questions.
Best of luck on your application, and have a great day!!
02-28-2007 08:43 PM
Dear Ching
Please dont feel bad that you are a bit confused still believe me i know the feeling...and its my mistake that i cant explain my problem better
i tried to do what i want diagrammatically...maybe it will be easier for you to look at it
as far as the indexing that starts from 0 i think "i am correct" there since i am checking my input signal segment by segment therefore it has to start from 0...and i say i think
Regards
Madgreek
03-01-2007 07:50 PM - edited 03-01-2007 07:50 PM
Message Edited by cphuong on 03-01-2007 07:51 PM
03-02-2007 03:35 PM