Question: ( 2 5 pts . ) Assume we will read two binary values x and y ( x and y can be either ' 0
pts Assume we will read two binary values x and yx and y can be either or where x is the value generated by a sensor and y is the value generated by an algorithm. Our objective is to compare these two values x and y We will record the values x and y every minutes and we will use the last recorded values present minutes ago and minutes ago as follows: Produce an output z which will be equal to either the x or y value recorded minutes ago. If the current and previous recorded values of x and y are equal, then z will be equal to x otherwise to y Ex: If the stored x and y values are as in the following table, both the current and min. ago values are the same for x and y so z is equal to the value of x stored min. ago, that is z is Ex: If the stored x and y values are as in the second table, the current values are equal but min. ago values are not, so z is equal to the value of y stored min. ago, that is z is Do not forget that we have a stream of x and y values, so make sure that you have a design that updates values every minutes.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
