ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arreglo

Solved!
Go to solution

Estimados señores:

 

Escribo por lo siguiente, necesito hacer la siguiente operación con un arreglo, pero he probado de distintas maneras, por horas y no consigo dar con la manera de hacerlo; puede ser fácil, pero no me resulta.

 

La idea es la siguiente:  si el arreglo original es (a, b, c, d, e, f,g,...), en donde cada elemento es un número real, necesito obtener

 

(a, a+b, a+b+c, a+b+c+d, a+b+c+d+e,a+b+c+d+e+f,a+b+c+d+e+f+g,a+b+c+d+e+f+g+...,....), es decir, simplemente cada término corresponde a la suma de los anteriores.

 

Si alguien me puede ayudar, se lo agradeceré.

 


 

 

Message Edited by fgarcia on 01-20-2010 11:37 PM
0 Kudos
Message 1 of 19
(4,136 Views)

Try posting in english here for better response

 

 


translation from spanish

 

 



I write about the following, I need to do the following operation with a settlement, but I tried in various ways, for hours and I can not come up with a way to do it can be easy, but do not find it.

 

The idea is this: if the original array is (a, b, c, d, e, f, g ,...), where each element is a real number, I need to get

 

(a, a + b, a + b + c, a + b + c + d, a + b + c + d + e, a + b + c + d + e + f, a + b + c + d + e + f + g, a + b + c + d + e + f + g +...,....), ie each term simply represents the sum of the above.

 


 

Message 2 of 19
(4,123 Views)
sh.PNG
Message 3 of 19
(4,121 Views)
Solution
Accepted by fgarcia

Muks,

 

Why wouldn't you autoindex the incoming array?  Smiley Wink

 

Message Edited by Ravens Fan on 01-21-2010 01:27 AM
Message 4 of 19
(4,113 Views)
oops you are right. Thanks for correcting it.........:smileywink:
0 Kudos
Message 5 of 19
(4,110 Views)

Hi muks,

 

U r such a brillaint guy to provide solutions for complex requiremnts too.. appreciate your diligence in translating the spanish content.. i am a follower of this forum.. u r my icon..

Message 6 of 19
(4,105 Views)
I hounoured. Thanks mate. But i feel i am still very much learning labVIEW....:smileywink:
0 Kudos
Message 7 of 19
(4,098 Views)

Smiley Very Happy 

 

 by the way where do u work and where are you put up?

0 Kudos
Message 8 of 19
(4,083 Views)
0 Kudos
Message 9 of 19
(4,070 Views)

oh is it i am also from ilink only.. hmm good to know that... Smiley Surprised

0 Kudos
Message 10 of 19
(4,051 Views)