www.gusucode.com > signal 案例源码程序 matlab代码 > signal/SlewRateForOneTransitionWaveformExample.m
%% Slew Rate For One-Transition Waveform % Use |slewrate| with no output arguments to plot the slew rate information % for a step waveform sampled at 4 MHz. % Copyright 2015 The MathWorks, Inc. %% % Load the transitionex.mat file and compute the slew rate. Annotate the % slew rate in a plot of the waveform. load('transitionex.mat','x','t') slewrate(x,t)