How to find the fall time of a voltage pulse.

6 vues (au cours des 30 derniers jours)
BP
BP le 27 Août 2021
Réponse apportée : BP le 7 Sep 2021
I have a waveforn captured using an osciloscope and saved in a csv file. I am trying to find the 20% to 80% fall time value and plot the waveform with markers. Column 4 is the time (x axis) and column 5 is the voltage data (y axis) .

Réponse acceptée

BP
BP le 27 Août 2021
The csv file is attached.
  10 commentaires
BP
BP le 2 Sep 2021
That worked
Star Strider
Star Strider le 2 Sep 2021
If it worked, please Accept my answer.
I made no changes in my code, and simply corrected your changed copy of it.
.

Connectez-vous pour commenter.

Plus de réponses (1)

BP
BP le 7 Sep 2021
It prints the correct data in the following form.
hafmax =
722.4474 180.6118
xm =
-2.2256e-06 9.72e-05
xm =
1.0e-04 *
-0.0223 0.9720
I think hefmax is the 20% and 80% points =180.61 volts and 722.45 volts.
I think 1.0e-4* is the time between the rising edge and fallowing edge which occures at t=-0.0223 and t=0.9720.
Is this correct?
--------------------
With the code as writen, is there any way to make it print out the values as shown below?
20% point= 180.61 volts
80% point =722.45 volts
FWHM time= 1.0e-04
X t1=-0.0223
X t2=0.9720
------------------------
So far, this is all i've been ably to get the data to displat which is not what I need it to look like. Please give me help and suggestions.
hafmax =
722.4474 180.6118
xm =
-2.2256e-06 9.72e-05
xm =
1.0e-04 *
-0.0223 0.9720
Full Width Half riseing edge/ falling edge) = -0.000002 u sec.
Full Width Half riseing edge/ falling edge) = 0.000097 u sec.
Hafmax points high/ low) = 722.447381 Volts.
Hafmax points high/ low) = 180.611845 Volts.

Catégories

En savoir plus sur Function Creation dans Help Center et File Exchange

Tags

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by