Skip to main content
19-Tanzanite
April 22, 2024
Solved

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

  • April 22, 2024
  • 1 reply
  • 905 views

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..

Best answer by Werner_E

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

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
April 22, 2024

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