91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 26KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發布日期: 2021-06-06
  • 語言: Matlab
  • 標簽: matlab??

資源簡介

可讀取示波器wfm格式文件的MATLAB代碼

資源截圖

代碼片段和文件信息

function?[y?t?info?ind_over?ind_under?frames]?=?wfm2read(filename?datapoints?step?startind)
%?function?[y?t?info?ind_over?ind_under?frames]?=?wfm2read(filename?datapoints?step?startind)
%
%?loads?YT-waveform?data?from?*.wfm?file?saved?by?Tektronix?TDS5000/B?TDS6000/B/C
%?or?TDS/CSA7000/B?MSO70000/C?DSA70000/B/C?DPO70000/B/C?DPO7000/?MSO/DPO5000
%?instrument?families?into?the?variables?y?(y?data)?and?t?(time
%?data).?The?structure?“info“?contains?information?about?units?and
%?digitizing?resolution?of?the?y?data.?The?matrices?ind_over?and?ind_under
%?contain?the?indices?of?overranged?data?points?outside?the?upper?/?lower
%?limit?of?the?TDS?AD?converter.
%?If?the?file?contains?fast?frames?data?the?data?of?the?first?frame?ism
%?stored?as?usual?and?of?all?frames?it?is?stored?in?the?optional
%?output?struct?“frames“:
%?frames.frame#.y=(y-data?of?#-th?frame?including?the?first?frame?again)
%?frames.frame#.t
%?frames.frame#.info?(contains?only?frame-specific?fields?of?the?info?structure?for?frame?number?#)
%?frames.frame#.ind_over
%?frames.frame#.ind_under
%
%?optional?input?arguments:
%?datapoints?stepstartind:?read?data?points?startind:step:datapoints
%?from?the?wvf?file.?if?datapoints?is?omitted?all?data?are?read?if?step
%?is?omitted?step=1.?If?startind?omitted?startind=1

%
%?Reading?of?*.wfm?files?written?by?other?than?the?above?Oscilloscopes?may
%?result?in?errors?since?the?file?format?seems?not?to?be?downward?compatible.
%?Other?projects?exist?for?the?older?format?e.g.?wfmread.m?by?Daniel?Dolan.
%
%?Author:
%?Erik?Benkler
%?Physikalisch-Technische?Bundesanstalt
%?Section?4.53:?Optical?Femtosecond?Metrology
%?Bundesallee?100
%?D-38116?Braunschweig
%?Germany
%?Erik.Benkler?a?t?ptb.de
%
%?The?implementation?is?based?on?Tektronix?Article?077-0220-01
%?(December?07?2010):?“Performance?Oscilloscope?Reference?Waveform?File?Format“
%?which?can?be?found?at:
%?http://www2.tek.com/cmswpt/madetails.lotr?ct=MA&cs=mpm&ci=17905&lc=EN
%?or?by?searching?for?077022001?on?the?TEKTRONIX?website?(the?last?two
%?digits?seem?to?define?the?revision?of?the?document?so?you?may?search?for
%?077922002?077922003?...?to?find?newer?revisions?in?future.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%?current?state?of?the?project?and?change?history:
%
%?Version?2.0?22.03.2011
%?(a)????added?warning?IDs?for?all?warnings?to?render?them?switchable
%?(b)????changed?behaviour?of?the?“datapoints“?input?parameter?which?now
%????????defines?the?number?of?data?points?to?be?returned?by?wfm2read.
%????????Added?a?warning?when?“datapoints“?is?too?large?such?that?one?would
%????????need?more?data?points?in?the?file?/?frame.
%
%?Version?1.9?December?26?2010?(re-submitted?to?FileExchange)
%?(a)???implemented?Fast?frames
%?(b)???added?wfm2readframe?for?reading?single?frame
%???????in?a?fast?frames?measurement
%?(c)???Added?optional?input?argument

評論

共有 條評論