Question: (6) Write a Python program for the Wigner distribution function when the input function has a finite duration. y = wdf(x, t, f) x:
(6) Write a Python program for the Wigner distribution function when the input function has a finite duration. y = wdf(x, t, f) x: input, t: samples on t-axis, f: samples on f-axis (ii) Use function to write the code, (iii) Choose an input x yourself, use your program to calculate and plot the output y, (iv) Use the tic and toc commands to calculate the running time of the program, (v) The shorter the program execution time, the betterEx: del t=0.0125; t = -9:del t:9; del f = 0.025; f = -4:del f:4; x = exp(j*t.^2/10-j*3*t).*((t>=-9)&(t
Step by Step Solution
3.40 Rating (150 Votes )
There are 3 Steps involved in it
import numpy as np import matplotlibpyplot as plt import time ... View full answer
Get step-by-step solutions from verified subject matter experts
