File:Raised-cosine-ISI.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 590 × 328 pixels, file size: 31 KB)

    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: Consecutive raised-cosine impulses, demonstrating zero-ISI property.
    Deutsch: Intersysmbolinterferenzfreiheit bei der Impulsformung mit Raised-Cosine
    Date
    Source Own work based on: Raised-cosine-impulse.svg:  by Krishnavedala
    Author Chris828
    SVG development
    InfoField
     The SVG code is valid.
     This vector image was created with Python.

    Source code

    Created using python and matplotlib library.

    from numpy import *
    from matplotlib.pyplot import *
    from mpl_toolkits.axes_grid.axislines import SubplotZero
     
    def makeT(lim=1):	# Make the X-axis
    	result = linspace(-lim,lim,500)
    	return result
    
    def sinc(x):		# define normlized sinc function
    	return sin(pi*x)/(pi*x)
     
    def raisedCos(x,B=0,T=1):	# define raised cosine function
    	return sinc(x/T) * cos(pi*B*x/T) / (1 - (4*B*B*x*x/(T*T)) )
    
    fig = figure(figsize=(8,4))
    ax = SubplotZero(fig,111)
    fig.add_subplot(ax)
    ax.grid(True)
    ax.set_xticks([-3,-2,-1,0,1,2,3])
    ax.set_xticklabels(["-3T","-2T","-T","0","T","2T","3T"])
    ax.set_ylim((-.2,1.))
    ax.set_yticklabels([])	
    for direction in ["xzero","yzero"]:
    	ax.axis[direction].set_axisline_style("->")
    	ax.axis[direction].set_visible(True)
    for direction in ["left","right","bottom","top"]:
    	ax.axis[direction].set_visible(False)
    
    t = makeT(4)
    
    ax.plot(t,raisedCos(t+2),'b')
    ax.plot(t,raisedCos(t+1),'b')
    ax.plot(t,raisedCos(t),'b')
    ax.plot(t,raisedCos(t-2),'b')
    ax.plot(t,raisedCos(t-1),'b')
    
    ax.text(4.,-.1,r"$t$")
    ax.text(.2,1.01,r"$h(t)$")
    
    #fig.show()
    fig.savefig("Raised-cosine-ISI.svg",bbox_inches="tight",\
    	pad_inches=.15)
    

    Licensing

    Chris828, the copyright holder of this work, hereby publishes it under the following license:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
    Attribution:
    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.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    28 March 2015

    32,094 byte

    image/svg+xml

    620ffbcf2484ec3a049a92506aa167b7da84eaf7

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current18:15, 28 March 2015Thumbnail for version as of 18:15, 28 March 2015590 × 328 (31 KB)wikimediacommons>Chris828{{Information |Description ={{en|1=Consecutive raised-cosine impulses, demonstrating zero-ISI property.}} {{de|1=Intersysmbolinterferenzfreiheit bei der Impulsformung mit Raised-Cosine}} |Source =modified python script from user [[User:Krish...

    There are no pages that use this file.