Hello analogspiceman,
Thanks for your uploaded example "sampled_average_expanded.asc".
I have now a better understanding after I plotted V(4), V(3) , V(x) and V(s) in one plot.
Best regards,
Helmut
---In LTspice@..., <helmutsennewald@...> wrote :
Hello analogspiceman,
Thanks a lot for ths idea of a "sampled" average.
I have made an example with your formulas. Please check my circuit.
I wonder a little bit were the integration really starts and stops compared to the sample clock pulse.
Files > Temp
sampled_average.zip
Best regards,
Helmut