LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I remove only the middle elements from a 2-D array?

Hello all!

 

We have had an issue at my work where some of our graphs featuring a Gaussian curve have an unusual rectangular distortion in the middle of the curve (sorry that I have no image to show you, the error is before my time at the company, and I've been asked to find a solution before it happens again). Basically, what should be a Gaussian curve is leveling off briefly and looking like a rounded square wave. We know what causes the distortion, so I only wish to remove the middle part, giving it the appearance of a Gaussian. It's odd, but it actually offers a good approximation of what we want. The graph is made from a 2-D array of Double values, and we can estimate the size of the leveled-area, so I figured that removing the middle elements from the graph would accomplish this. Does anybody know a way I can accomplish this?

 

-Gobble

----------------------------------------------------------------------------------------------------------------------------------------
LabView 8.5.1
0 Kudos
Message 1 of 3
(2,265 Views)

Replace those elements with the value of NaN.

Message 2 of 3
(2,254 Views)

Raven,

 

Thank you very much, I'll try that!

 

-Gobble

----------------------------------------------------------------------------------------------------------------------------------------
LabView 8.5.1
0 Kudos
Message 3 of 3
(2,225 Views)