Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
It seems we should repeat it 300 times for 300 cycles. I think. but I have another solution for your case: I often use a wave display tool - CosmosScope do this work. there are many function in CosmosScope that can measure different parameters.