The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

CLAD2017 - Answer the Requirement - Average that data

SercoSteveB
Active Participant

You are tasked to write a VI?

INPUT(s): 2D Array (2D Samples Array) of DBL precision numerical values.

OUTPUT(s): 2D Array (Numeric Array Out) of DBL precision numerical values.

FUNCTION:  The VI must calculate an average value for each column of 2D Samples Array and append that average to the bottom of the column.

 

NOTE:  An example 2D Samples Array and resultant Numeric Array Out are shown below.

 

Average Channel Data Input.png

Average Channel Data Output.png

 

Have a go at writing a VI yourself or expand the Spoiler tag to see the possible solutions.

 

Spoiler

a)

Average Channel Data 1.png

b)

Average Channel Data 2.png

c)

Average Channel Data 3.png

d)

Average Channel Data 4.png

Comments