How to get zero crossing for a vector and the values of each crossing?
Afficher commentaires plus anciens

I have a signal generator and it displays square wave , now there are 4 channels and for each channel i need to plot the zero-crossings of the waves. I need a function/code to plot the data on the figure and need to get the data also as when the wave crossed zero point during its sampling. How to do that? For instance i have chA vector for channel A and it contains upto 1 million of samples. I need the values of the black marked places through out the sample. I am new to matlab, help will be appreciated.
thanks in advance.
Réponses (1)
Jayanta Deb
le 6 Mar 2017
0 votes
Catégories
En savoir plus sur Signal Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!