The Daily CLAD

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

CLAD2017 - Answer the Requirement - Reshaping Arrays

SercoSteveB
Active Participant

You are tasked to write a VI that accepts a 2D array of numerical values (Numeric Array In) and outputs a 1D array of numerical values (Numeric Array Out).  Your VI must reshape the 2D array Numeric Array In into the 1D array Numeric Array Out.  No elements can be lost in during the reshaping, the order of the elements must remain unchanged and your VI must work for any size 2D array. 

 

Which of the following VIs satisfies those requirements?

 

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

 

Spoiler
a)
Reshapre Array A.png

b)
Reshapre Array B.png

c)
Reshapre Array C.png

d)
Reshapre Array D.png

 

Comments