LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting 2x2 array from 10x10 array Using only for loops

Solved!
Go to solution

altenbach wrote:

(Beside, even your disallowed example code seems overly complicated! For example your inner two for loops and associated code could be replaced by a simple "eqaul" in compare aggregates" mode!)


My thoughts exactly...

Spoiler

 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 11 of 16
(1,488 Views)

@crossrulz wrote:

altenbach wrote:

(Beside, even your disallowed example code seems overly complicated! For example your inner two for loops and associated code could be replaced by a simple "eqaul" in compare aggregates" mode!)


My thoughts exactly...


I thought is was worthy of a RG post instead. 😄

0 Kudos
Message 12 of 16
(1,474 Views)

@UdiWeiss wrote:

but my instructor alert me that for this assignment we are forbid to use this palate and only use "basic" functions.


I'm thinking there was just a miscommunication problem here.  Maybe your instructor only meant for the saving of the locations no to use the Initialize Array and the Replace Array Subset because you could just simply use autoindexing tunnels instead.  Somewhere, you really need to use Array Subset or Index Array in order to get your values out of an array.  It is complete nonsense to try to work around those two functions.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 13 of 16
(1,445 Views)

Wow.... 

 

So  there is no misunderstanding as some of you think , in this assignment we are allowed to use the comparison, numeric, while and for loops with autoindexing and tunnel and conditional - array palette isn't allowed.

 

Thank's for lighting me with the the option of comparsion function for arrays. 

 

now , I'm trying to understand 

 

0 Kudos
Message 14 of 16
(1,382 Views)
Solution
Accepted by UdiWeiss

Conditional Autoindexing Tunnels?  They help when trying to get your subarray that will then be used for comparison.

 

Note:  I normally don't help like this for homework, but this assignment is complete asinine.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 15 of 16
(1,368 Views)

Well , ya I agree with you about the essence, maybe it is meant for logical thinking or how labview deal with arrays... don't know.

I was frustrated when my original answear didn't accept...

 

Thank you for your solution , surely I'll benfit from it (not only grades 🙂 )

 

 

0 Kudos
Message 16 of 16
(1,353 Views)