ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

replace multiple data in array

Hi,
how can I quickly replace all "0" in a 2D array?
Do I really have to do it with several loops?
0 Kudos
Message 1 of 4
(2,866 Views)
Yes.
0 Kudos
Message 2 of 4
(2,866 Views)
well then.
thanks
0 Kudos
Message 3 of 4
(2,866 Views)
hi,
Al you hve to do is take the 2d array in to a for loop search this 1d array for zeros and write logic to delete the zero elements index.
vicky
0 Kudos
Message 4 of 4
(2,866 Views)