Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69371

Combination of arrays

$
0
0

Hi every one,

 

I have a question about arrays. I looked over the froums but could not find what needed. (Sorry for my confusing subject. I do not know what it should be:smileyembarrassed:).

 

I have three arrays: A,B and C. Lets say (in a very simple case) each one has 20 elements (e.g A(1)=2, A(2)=8,...,C(20)=34). Now, the fourth array (called K) should be created by a combination of these A, B, and C. The first element of K should be obtained by sum of C(i)/((A(1)+B(i))^2 which i=1,2,3,...,20. The second element of K: K(2) is sum of C(i)/((A(2)+B(i))^2 and so... (just like attached)

 

I did my best to get this K array but it did not work:smileysad:. Could any one please help me about this?

 

Thank you

 

 


Viewing all articles
Browse latest Browse all 69371


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>