cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

How to exctract and element from a vector within each iteration and put into another vector?

Cornel
19-Tanzanite

How to exctract and element from a vector within each iteration and put into another vector?

Hello,

I want to extract for each iteration o i, the corresponding value in 20log() vector at index i, and put that value into another vector.

Cornel_0-1713787455130.png

 

Cornel_1-1713787550405.png

 

Cornel_2-1713787636090.png


And so on..

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Cornel)

OMG!!

So the only problem was that the index i not only affects the data but also the function used for genfit!?

Then this should help

Werner_E_0-1713789958615.png

 

View solution in original post

1 REPLY 1
Werner_E
25-Diamond I
(To:Cornel)

OMG!!

So the only problem was that the index i not only affects the data but also the function used for genfit!?

Then this should help

Werner_E_0-1713789958615.png

 

Announcements

Top Tags