Howcan i get the date of pulse_transition

조회 수: 1 (최근 30일)
EMMANUEL VIRATEL
EMMANUEL VIRATEL 2019년 10월 17일
Hello, I'm Emmanuel student in electronic at the university of Toulouse (FRANCE)
I've got a signal into a vector, il look like a pulse signal and i want to have the date of each rising edge and falling edge into two vectors
mi code is here
pm = dsp.PulseMetrics('TimeInputPort',true,'TransitionOutputPort',true,'PostshootOutputPort',true,...,
'CycleOutputPort', true,'SettlingOutputPort',true,...
'StateLevels',[seuil_bas seuil_haut])
%conversion en ms%
echelle_temps=t*periode_echantillonnage
xlabel('Samples');
pulse,cycle,transition,settling] = pm(s',t');
plot(pm);
I want to specify the rising level and the falling level. Pleased tell if the field settling in dsp.Pulsemetrics is the best way to do that, or are they others ways?
Thanks a lot for your answer
Emmanuel

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by