04-23-2015 12:41 AM - edited 04-23-2015 12:45 AM
hello,
I am currently working on project that involves in this picture, i having difficulty in choosing the smallest value
how to choose the smallest value,
if the least value is 1 (brown number), then weight value [2 2] will be the next process,
if the least value is 2 (brown number), then weight value [2 3] will be the next process,
if the least value is 3 (brown number), then weight value [2 5] will be the next process,
and this is my example with the smallest result was 2 and [2 2] will be the next process, how to process the weight but only [2 2] that will be process ?
04-23-2015 01:37 AM - edited 04-23-2015 01:37 AM
Hi diikaborg,
how to choose the smallest value
You use ArrayMinMax. It gives you the smallest value from an array - and also it's position in the array…
how to process the weight but only [2 2] that will be process ?
Can you explain your logic here with more details?
if the least value is 1 (brown number)
Do you mean "smallest" when you write "least"?What is the "brown" number?What have you programmed so far? Do you have any VI to show?All we see is an Excel sheet: do you want to create an Excel macro?
04-23-2015 09:39 PM
Can you explain your logic here with more details?
sorry for my bad english.
I have a formula
actually it was a self-organizing map formula, and I'll like to use in Labview, formula above is looking for D1, D1 is neuron index that will be searched for the smallest value.and the result are D1=2 ,D2=5, D3=17 from calculating with formula .it means the smallest value is 2, "2" from weight [2 2] in file attached.
and then it will go in other formula
it mean [2 2] + 0.5 ( [1 1]-[2 2] ) = [1.5 1.5]
and the weight will be [1.5 2 2 ]
1.5 3 5
Do you mean "smallest" when you write "least"?What is the "brown" number?What have you programmed so far? Do you have any VI to show?All we see is an Excel sheet: do you want to create an Excel macro?
Im sorry for my typo, I mean the smallest value , not "least". brown number is the number in excel that colored brown in the result.
and this is my program . I used excel just for explain here
I would appreciate any input/help on solving this
thanks