File:Duty cycle general.png

File on OODA WIKI

Original file(925 × 462 pixels, file size: 21 KB, MIME type: image/png)

Summary

Definition of a general square wave.

Plot created using maxima.

Author Original: Cyril BUTTAY Vector: Krishnavedala

Gnuplot code dutycycle : 1/3; signal(x) := if(x - floor(x) > dutycycle) then 0 else 1; load(draw); draw2d(terminal=svg,file_name="Duty cycle general",

   font="Times",dimensions=[500,250],font_size=10,
   grid=true,ytics={["y_{min}",0],["y_{max}",1]},
   yrange=[-.25,1.25],xtics={["0",0],["D.T",dutycycle],
       ["T",1],["(T+D.T)",1+dutycycle],["2T",2],
       ["(2T+D.T)",2+dutycycle],["3T",3],
       ["(3T+D.T)",3+dutycycle]},
   xlabel="Time",ylabel="Amplitude",
   explicit(signal(x),x,0,3.5)

);

Licensing

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:53, 30 August 2023Thumbnail for version as of 13:53, 30 August 2023925 × 462 (21 KB)Isidore (talk | contribs)Definition of a general square wave. Plot created using maxima. Author Original: Cyril BUTTAY Vector: Krishnavedala Gnuplot code dutycycle : 1/3; signal(x) := if(x - floor(x) > dutycycle) then 0 else 1; load(draw); draw2d(terminal=svg,file_name="Duty cycle general", font="Times",dimensions=[500,250],font_size=10, grid=true,ytics={["y_{min}",0],["y_{max}",1]}, yrange=[-.25,1.25],xtics={["0",0],["D.T",dutycycle], ["T",1],["(T+D.T)",1+dutycycle],["2T",2], ["(2T+D.T...

The following page uses this file:

Metadata