I was wondering if you could explain how exactly the built-in function "average" works, i.e. the window size, time length etc.. Also, is it possible to implement it in MATLAB? I've tried but it didn't seem to work. I'm using Picoscope 5444D.
Here are some details about my Picoscope 6 settings and MATLAB commands.
Pico 6 :
Two channels (A=signal, B=trigger signal), 15 bits
Auto trigger on channel B (simple edge, falling edge, threshold=0V)
Sample interval=504ns, averaging time ~ 4s
Code: Select all
[status.SetBandwidthFilter] = invoke(ps5000aDeviceObj, 'ps5000aSetBandwidthFilter', 0, 1); [status.setSimpleTrigger] = invoke(triggerGroupObj, 'setSimpleTrigger', 1, 0, 3); avg_A = movmean(chA,256,'Endpoints','discard');
Thanks in advance.