03-23-2020 09:00 AM
Hello, I want plot signal energy over time - append a 1D array with calculated signal energy each for loop iteration. The snippet I attached is a simpler version of a bigger project, where on Input, instead of simulated signal I have an accelerometer signal. I am struggling with this problem quite some time. 😞
I will appreciate any advice
Solved! Go to Solution.
03-23-2020 09:07 AM
So you want 'i' copies of the sum of the squared values of the last column? Because that's what you're coded.
Guessing from your attempty and description, you want to use that now unconnected array output from the for loop and connect it to a Build array. This array should be connected to a Shift register on the outer While loop.
/Y
03-23-2020 09:10 AM
This will work, but you will run out of memory eventually. Take some the tutorials listed at the top of the forums.
mcduff
03-23-2020 11:48 AM
Thanks mcduff, that worked for me. I will go through the tutorials as you recommended.