using backend code of matlab commands for creating new command

2 ビュー (過去 30 日間)
SHANTANU KSHIRSAGAR
SHANTANU KSHIRSAGAR 2020 年 3 月 6 日
Rise time is to be calculated using basic matlab (excluding all toolboxes) in a generalised manner.
how can i modify the code available in SPT in order to generalise it?
i need to calculate rise time for each pulse in a multi pulsed waveform.
  1 件のコメント
SHANTANU KSHIRSAGAR
SHANTANU KSHIRSAGAR 2020 年 3 月 6 日
function [r,lwrCross,uprCross,lwrRef,uprRef] = risetime(x, varargin);
if nargin > 1
[varargin{:}] = convertStringsToChars(varargin{:});
end
% plot if no output specified
plotFlag = nargout==0;
% obtain durations and crossings for all positive-going transitions
[r,lwrCross,uprCross,lwrRef,uprRef] = transdurs(x,1,plotFlag,varargin{:});
how do i modify this function for the same

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePulsed Waveforms についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by