File:Slew-rate.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 760 × 1,005 pixels, file size: 397 bytes)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: slew rate effect on a square wave: red= desired outpout, green= distorted output.
    Français : Effet du slew-rate: en rouge la tension désirée, en vert la tension obtenue
    Date
    Source Own work
    Author Yves-Laurent Allaert
    Permission
    (Reusing this file)
    I, the copyright holder of this work, hereby publish it under the following licenses:
    GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
    This licensing tag was added to this file as part of the GFDL licensing update.
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
    You may select the license of your choice.

    Gnuplot script

    Save this script to file "slew-rate" then run the command line "gnuplot slew-rate", you will get slew-rate.svg, if you have well installed gnuplot 4.0 or later.

    set terminal svg
    #options
    unset border
    unset label
    unset xtics
    unset ytics
    unset key
    set sample 360
    set output "slew-rate.svg"
    dutycycle=0.5
    input(x) = x-floor(x)>dutycycle?1:0
    slew_rate(x) = x<1?5*x-2.5:6-5*x
    output_up(x) = x<0.5?0:5*x-2.5
    output_down(x) = x>1?6-5*x:1
    output_temp(x) = x<0.7?output_up(x):output_down(x)
    output(x) = output_temp(x)<0?0:output_temp(x)
    plot [0.35:1.35] input(x),output(x)
    

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    18 April 2007

    image/svg+xml

    397 byte

    84699b1a5c9eded890fe22e956d595be7c2bc017

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current04:57, 16 March 2025Thumbnail for version as of 04:57, 16 March 2025760 × 1,005 (397 bytes)wikimediacommons>Д.ИльинOptimization

    There are no pages that use this file.