09-16-2013 09:56 AM
I have a 3x10 input array.
I take row 0, apply a high pass filter, take the log, and then plot it.
Second round I have another 3x10 array, and apply the same thing on row 0. (all running in a while loop)recursiv
So my plot would have 20 points, from row 0 (eventually I would do this for all 3 rows)
Is this different from if I pass it in a 3x20 array at once, and do the processing and then plot it?
Or is there a way I can save the plotted value on the graph, and just add the new result at the end?
I am trying to avoid saving all values, so I dont want to use the 3x20 array. I want to do the calculations on 3x10 chunks of data while getting the same results.
Thanks!!!!!!!!!
09-16-2013 10:48 AM - edited 09-17-2013 11:59 AM
You seem to love the word "recursive" in all your questions, but I don't think it makes sense the way you use it. If the calculations are independent (sometimes they are not!), it does not matter if you do the calculations all at once or piecewise.
A 2x10 array is tiny. What is your actual concern?
Your description is very fuzzy. If you want to save historic values inside a graph, you should use a chart instead. Does this have anything to do with your earlier question?
09-17-2013 11:33 AM
sorry I guess what I mean by recursive is that I want to reuse calculated values.
Yes this is somwhow the continuation of my previous question.
Using a block by block approach to calculate the means(my prev question) led to the same results as passing in the whole array at once.
But I am not sure if this is true for applying a high pass filter.
The overall shape of the graphs (I use a chart) in both approaches is similar, but when plotting block by block it is not as smooth.
Is this normal?
so is applying a hpf on three blocks of 3x10(and plotting results) the same as applying it on a block of 3x30?
Thanks!!