Question: a) For this problem, you will obtain signed 16b values. However, each data value represents a pair of 8-bit signed values that represent a linear
a) For this problem, you will obtain signed 16b values. However, each data value represents a pair of 8-bit signed values that represent a linear time sequence of (x,y) mapping coordinates of an object being tracked by a radar system. The upper byte of the 16b signed value represents the x coordinate, while the lower byte represents the y coordinate. The EOS is the point (0,0). b) Write a pseudocode which will count the number of times the object appears in each quadrant of the map given in Figure D. Also, count the number of times an object appears on the x axis (i.e. point (0,y) ) or y axis (i.e (x,0) ). c) Using CCS, implement your pseudocode in the C programming language. Store the count value for quadrant in an array, aOUT, where aOUT [0] is the number of time a point appears on the x or y axis, aOUT [1] is the number in quadrant 1, aOUT [2] is the number in quadrant 2, etc. Print the results to the console in decimal using the specified format. d) Submit your pseudocode, C code, copy/paste (or screen capture) of CCS Terminal (Console) output using the specified format (One pdf and the zip
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
