LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to implement following equation with limits in labview

how to implement following equation in labview

y (n+1) = x(n+1)  if  n(mod T) = 0 and ∏ Q(n-iT) =1 where ∏ denotes 
multiplication, its lower limit is i=0, upper limit is L
              x(n)      otherwise

where T is length of comparison intervals and L is number of comparison.

0 Kudos
Message 1 of 12
(2,653 Views)

How do you receive your values for x and Q? Do you get all the values at once, or are the values streamed in real-time?

 

What is n(mod T)?

Certified LabVIEW Developer
0 Kudos
Message 2 of 12
(2,639 Views)

Hi....

I have added a picture to try and see what you are saying.

is the picture correct ?

 

Do you have the X array and you are creating the Y array ?

Do you have initial values for one of the arrays ?

can you give a reference to the article you are using ?

0 Kudos
Message 3 of 12
(2,630 Views)

yes, the limit applied are correct but the limits are of Q(n-iT) ,   n(mod T) =0

 i just want to know how to apply limits and how to give two conditions

0 Kudos
Message 4 of 12
(2,614 Views)

X(n) is vector which change its value at every instant.

n is number of samples. n(mod T)  = 0 means modulus of length of comparison interval is zero

0 Kudos
Message 5 of 12
(2,610 Views)

Do you have any code of what you have tried?  I'm also wondering where X and Q are coming from.  Things that might help you is the modulus can be calculated with the Quotient & Remainder function (the remainder is the modulus) and there is a Multiply Array Elements.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 12
(2,589 Views)

OK.....

more questions and I will try to create an example.

 

1. What is Q ?

2. What are ranges of the indexes, do we have X0? do we have X1 ?

(notice that in order to know Y0 we should have X(-1)

3. the multiplication is also (mod T) ? 

0 Kudos
Message 7 of 12
(2,568 Views)

@rashi wrote:

 i just want to know how to apply limits and how to give two conditions



OK... without knowing too many details, about what is Q and if there is Y0 or X0 ,

here is an example that will show you "how to apply limits and how to give two conditions"

tell me if it help in any way

0 Kudos
Message 8 of 12
(2,552 Views)

i am sending you detail of equation in attachment

Download All
0 Kudos
Message 9 of 12
(2,528 Views)

my labview version is 2010, so VI sent by you could not be opened so kindly send me in 2010 version

0 Kudos
Message 10 of 12
(2,527 Views)