How to find the fall time of a voltage pulse.

5 visualizaciones (últimos 30 días)
BP
BP el 27 de Ag. de 2021
Respondida: BP el 7 de Sept. de 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) .

Respuesta aceptada

BP
BP el 27 de Ag. de 2021
The csv file is attached.
  10 comentarios
BP
BP el 2 de Sept. de 2021
That worked
Star Strider
Star Strider el 2 de Sept. de 2021
If it worked, please Accept my answer.
I made no changes in my code, and simply corrected your changed copy of it.
.

Iniciar sesión para comentar.

Más respuestas (1)

BP
BP el 7 de Sept. de 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.

Categorías

Más información sobre Function Creation en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by