how to count low pulses in matlab

i am doing real time plot of my sensor output connected to arduino. Output of sensor is a square wave .i want to count how many low pulses are there.i also want to count the time of each low pulses.how should i do that??

Answers (0)

Categories

Tags

Asked:

on 16 May 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!