MATLAB ヘルプ センター
Measure duty cycle of time-domain signal
DutyCycle = timeDomainSignal2DutyCycle(Tin,Vin)
DutyCycle = timeDomainSignal2DutyCycle(Tin,Vin) returns the duty cycle of the time-domain input signal represented by [Tin, Vin].
DutyCycle
Tin
Vin
example
collapse all
Determine the duty cycle of a time-domain signal.
load tin.mat; load xin.mat; dutycycle = timeDomainSignal2DutyCycle(t,x)
dutycycle = 4×1 0.5000 0.5000 0.5000 0.5000
Sample time points in the signal of interest, specified as a vector of the same length as Vin.
Data Types: double
double
Signal values at the sample time points defined in Tin, specified as a vector of the same length as Tin.
Ratio of the positive pulse width to pulse period, returned as a vector of the same length as the number of pulse periods present in the signal. Since pulse width cannot exceed pulse period, DutyCycle has a range of (0,1).
(0,1)
Introduced in R2020b
timeDomainSignal2RiseTime | timeDomainSignal2FallTime | dutycycle
timeDomainSignal2RiseTime
timeDomainSignal2FallTime
dutycycle
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ