Elegant way to sudden changes in a 2D array

I have a 2D chart that looks like this:

1 1 1 1 1 1 1 1 1

1 1 1 1 0 1 1 1 1

1 1 0 0 0 0 0 1 1

1 0 0 0 0 0 0 0 1

1 1 0 0 0 0 0 1 1

1 1 1 1 0 1 1 1 1

1 1 1 1 1 1 1 1 1

It is actually 128 x 128.  The above is a simplified version.

I want to find the min & max for axis x & y.

So, I came home from the element of the x axis 1 and 7 to min & max.

For the y-axis, I'd get items 1 and 5 for max & min.

I know how to implement using loops and research in each table 1 d.

But there must be a better, more elegant way using analysis features existing or other tricks.

Has anyone went through this road before?  with an elegant solution?

I tried a search, but I can not use the proper terminology.

It's late and my brain gave up on me...

Thank you...

You could try math matrix:

In your example, you know that all those values 7 x and 9 for y.  So, just find the first non - 7 or 9 from the front and the back of the table.

Tags: NI Software

Similar Questions

  • Why have all my colors suddenly changed - from white to cream yellow and all the other colors in the same way?

    Why have all my colors suddenly changed - from white to cream yellow and all the other colors in the same way?

    This looks strangely like the good old 'false monitor via Windows Update profile'. If the selector of color shows the cream when it should be white, that's all.

    We won't know until the OP comes back with more information and perhaps a screenshot, but in the meantime (since I'm away from my main system) I can try to locate my standard screenshot of one of the countless other threads I posted it that...

    ah, it's here (last posted barely two weeks in Lightroom):

  • on facebook and screen suddenly changed very little character and fuzzy not clear, so I switched to another browser and it was OK out there

    While scrolling through my facebook page. The screen has suddenly changed in very small print and Blur / Blur is not clear. The entire page had changed the way it showed. So I tried another browser and facebook page was working fine. I went back to firefox and still had problems.

    Yes, holding the CTRL key and turning the mouse scroll wheel are another way to set the zoom of page in addition to the hotkeys Ctrl and + to increase and Ctrl and - to zoom out in and Ctrl and 0 (zero) to reset the zoom.

    See also view > Zoom (press Alt to get the menu bar)

  • Elegant way to cope with the Run-in position and the following text

    Hello

    Looking for an elegant way to deal with Run-in position and the following text.

    Currently, HR 11 corresponds to the heading style run-in and then puts the text on the next line. Because the tape FM, heads of run-in with the following style create a look of two columns, this does not quite.

    Thoughts, I had understand how to take the contents of the running head and precede it in the next paragraph? Otherwise, how do something so simple that to change (in HR) the indent of the paragraph following the trail head... How is that done?

    Thank you

    Sean

    I solved this.

    First of all, my FM source has had a problem with some empty paragraphs, sometimes hiding at the end of paragraph runin. So I replaced these (search for \p\p).

    Then I edited the file > Project Settings > FrameMaker Document > paragraph and changed the withdrawal and the spacing for the two styles involved.

    Thank you

    Sean

  • How do we change thebackground pink back to white. He has suddenly changed and I'm not shy.

    Hi everyone, my normal white background suddenly changed browser background to pink. It is therefore difficult for me to see, and I want to chnge again. I don't know it's pretty easy and I looked through the info line, but I can't get out. Can someone help me pllease?

    Type of topic: addons< enter > in the address bar to open the Add-on Manager.
    Access key; < Control >(Mac: < command >) < shift > has)

    On the left side of the page, select appearance. Then select Default.

  • All of my received emails suddenly changed to the 'Source of the Message' (no HTML) format. How to change their return?

    All of my emails has suddenly changed format in the 'Source of the Message' (no HTML) format. Upcoming new suddenly is back in HTML. Is it possible to convert the received messages to HTML?
    Example of one of them-

    Of the - Thu Feb 19 13:12:54 2015
    X key account: account 1
    X-UIDL: 0MFJMQ-1YIimi1UiS-00ETqm
    X-Mozilla-Status: 0001
    X-Mozilla-Status2: 00000000
    X-Mozilla-keys:
    Return-Path: bounce-857_HTML-206598685-987434-260085-83038@bounce.global.expediamail.com
    Received: from mta.quotitmail.com ([66.231.85.77]) by mx.perfora.net

    (mxeueus001) with ESMTPS (Nemesis) id 0MFJMQ-1YIimi1UiS-00ETqm for
    <[email protected]>; Thu, 19 Feb 2015 01:35:36 +0100
    

    DKIM signature: v = 1; a = rsa-sha1; c = relaxed/relaxed; s = 200608; d =expediamail.com;

    h=From:To:Subject:Date:MIME-Version:Reply-To:Message-ID:Content-Type:Content-Transfer-Encoding; [email protected];
    bh=fNo3DAi3AhVqqOOcWiTDUbWFywc=;
    b=N429V9jQXRGv6C7+5HaLPGqlcgG/TcpFOhv0/Qb8NzGYhs0ZsvLsSmpmxyKD/mdaFhGePrNUpaAP
      +jen5myxsUX3lbr064O2a21h66NUjMHB785XH0FEV6JKm3QdW1u+KHz0szgaxy1CtUSZQk3gjlP1
      MOo6DXu7PV0u0oEd77Q=
    

    Thank you

    Right click on the folder, select Properties, and then on the button repair.

    Be sure to create an exception in your anti-virus analyzes the Thunderbird profile folder.

  • Hotmail has suddenly changed appearance and now present on the top of the page blue with lines. I have a screenshot...

    Run Firefox 15.0. Hotmail has suddenly changed appearance and my page is not at the bottom of the screen. The top 5/6 of the page is a series of horizontal blue stripes. Text in the blue section is the Windows Live titles such as ' home, Mobile devices, etc. When I try to compose a new message, text in the blue box partially covers the 'To' button, so I need to position the slider at the bottom of the button to enter an address. I have tried Hotmail in IE and it seems fine, so it must be a problem of compatibility between Hotmail & Firefox. Hotmail has not responded to my questions by e-mail. I could understand that if this happened at the beginning of a session, just after I have lights, but this happened after, I had been active in Hotmail and other sites. Other sites are not affected, just Hotmail and only in Firefox.

    Reload Web pages and ignore the cache to refresh potentially stale or corrupt.

    • Hold SHIFT and click reload.
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (MAC)

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Already tried safe mode?

  • Anyone who passes BIOS suddenly changed for no reason at all?

    Anyone who passes BIOS suddenly changed for no reason at all? Not mine. I have a Toshiba laptop that is only a couple of months, and it suddenly would not accept my password BIOS or HARD drive more. I'm completely locked out of my own laptop! I don't see how it could have happened otherwise as a bug in the software or hardware of Tosh. Can someone help me? Your comments will be also welcome if you have encountered the same problem. You can answer here or you can also send me an e-mail to [email protected] information.

    Hello

    sounds may be stupid, but maybe you write the password in capital LETTERS and tiny not? I mean, just Don t password change on theirselves and sorry, but I have never heard of a notebook of toshiba to change the BIOS password or something similar. In this case, the human factor is sometimes the biggest problem. ;)

    Welcome and good weekend

  • Some keys on my MacPro keyboard have suddenly changed character. More precisely: move 2 product "instead of @;" Shift 3 product £ instead of a hashtag. and two RBI Maj @. I rebooted and checked the settings keyboard without result.

    Some keys on my MacPro keyboard have suddenly changed character. More precisely: move 2 product "instead of @;" Shift 3 product £ instead of a hashtag. and two RBI Maj @. I rebooted and checked the settings keyboard without result. It worked fine yesterday and has not been moved since then. What should do?

    Check the sources of the system/preferences/keyboard again.  You have active the British PC keyboard.  Remove it and make sure that you have only on the list.

  • Why do the monitors on Windows XP suddenly change their colors?

    Mine has suddenly changed his light greenish blue to dark green, and the icons on my desktop are reddish.  A few sites I visit are difficult to read.  I was trying to access some info at the time flash player.  Can anyone suggest how to fix this?  It's very frustrating.  Thank you.

    The graphics 'card' he pilots and drivers can be updated, but I doubt that the problems you are having are associated drivers.

    The "map" can be a map of component discrete snap or maybe it's just the chips that are integrated into the motherboard of the PC. Look at where you connect the VGA monitor cable. If there are plenty of other (different) connectors on the same plate then your motherboard has an integrated graphics card. If there is only one (or maybe two) connectors, so you have a discrete graphics card.

    I repeat my previous opinion, if you can't get through test yourself, take the PC and follow for a repair installation, ideally one that you can get a recommendation for and put the matter in hand. Try to get the free diagnosis, it shouldn't take more than a few minutes. Then, get a quote before agreeing to pay anything.

    Tricky

  • Why Windows Vista Home Premium will suddenly change in Home Basic?

    Why Windows Vista Home Premium will suddenly change to basic home edition and never change back? Someone asked me to verify the information on the performance and tools > adjust Visual Effects > let windows choose what's best for my computer. But there is still no change with my windows. What can I do now to change it back my Home Premium? Thank you

    No, it not there no Windows Aero in the list. First on the list is Windows Vista Basic. You have another option?

    Thank you.

    Here is the link to the Microsoft Help and Support. The link deals precisely with Windows Aero.
    http://support.Microsoft.com/GP/aero_effects_not_working?EntryPoint=WHHT

    Read the article on the right side. He explains several reasons why waste or not Windows Aero.

    t-4-2

  • my fonts Office has suddenly changed to a larger font, how do I get this back to the original size?

    my fonts Office has suddenly changed to a larger font, how do I get this back to the original size? I tried to change it by right-clicking the mouse and personlized want and it did not work. I'm runnin Windows vista. Thank you, Martha

    Hi dude 11-2,.

    Follow the steps in this document to change the screen resolution.

    Let us know if that helps.

  • My hard drive has suddenly changed its format NTFS and I need to solve this problem

    my local C drive has suddenly changed to NTFS after I installed a game (Battlefield 2) and restarted my computer.
    I do not see the memory of my hard drive and I can't open some programs such as AVG anti-virus.
    I tried to run cmd as administrator, but it appears with a message «windows cannot access cmd.exe...»
    I can't get back to the time before what is happening.
    How can I solve this problem?

    In Internet Explorer, try tools, Internet Options, Connections tab, LAN settings if the box has been checked, uncheck the box "use a Proxy Server" and click OK, and click OK. Some malicious programs use the proxy server to redirect when you connect to the internet. You must then restart in Mode safe mode with networking and download and run Malwarebytes and Superantispyware in accordance with what I posted earlier.

  • the wireless network icon is suddenly changed and I do not now see my signal strength

    the wireless network icon is suddenly changed and I do not now see my signal strength... What do I do to fix this... ?

    Hello

    Have you made changes on the computer before this problem?

    I suggest you try these methods and check the status of the issue.

    Method 1:

    Wi - Fi and in Windows network connection issues.

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Method 2:

    You can also try temporarily disabling computer security software and check.

    Disable the antivirus software

    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

  • My laptop suddenly change its horizontzl to the position vrtical on-screen display. How to restore normal position? Thank you.

    My laptop suddenly change its horizontzl to the position vrtical on-screen display. How to restore normal position? Thank you.

    Try these in order:

    1 you may have a hotkey enabled for this arrow of ctrl-alt-up/left/right , but this will only work if your updated display driver in place.

    2 on the desktop, right-click graphics options, Rotation - it will be if your display driver has put there.

    3 go to control panel display settings, display, change, settings advanced, {click the large tab that has the name of the author of top display driver}, Graphics Options {or similar term} - then dive around to find the controls - these are all arranged differently, so I can't offer that little will be in but the rotation controls will be there somewhere.

    4 when you find the rotation controls, take a look for the keyboard shortcuts in the same area of the configuration of the display driver - if you ever need to rotate your screen, then you can normally disable keyboard shortcuts to avoid accidentally hitting as you try to do something else [which is probably causing your current problem].

Maybe you are looking for

  • Failed to download App

    I tried to download a game (Tetris Blitz 2016) and in iTunes it says it downloaded but the app isn't anywhere to be found on my camera.  I have a lot of free memory and downloaded a lot of other applications without any problem.  How can I get it app

  • print quality terrible ePrint

    I use the HP ePrint app for Android on Asus TF300T with HP LaserJet Pro 100 color MFP M175nw and even with 'high quality' option together, I am not able to print a decent PDF. Here is the difference in quality between ePrint app (left) and the same f

  • all of these processes: that is what do rtcreportingd?

    a request for rtcreportingd to connect to pancake.apple.com popped up recently (Little Snitch) -can someone tell me what is this process? Is there an official list of Apple, who described all the processes that are part of Mac OS x? THX Jo

  • Microsoft Report Viewer

    Hello. I am usig microsoft report viewer. I want to delete a footer on any page. Is this possible?

  • No port USB001 virtual in the drop-down list of printer ports

    I started this question in Twitter, but due to character limited in Twitter, I decided to bring the issue to this forum. How can I add a USB port to the list so that I can connect a USB printer. I tried to follow a suggestion by a Microsoft support e