Question: I am getting out graphs with no data on them, I was given guidance to flatten or use receptions [ 0 , : ] on
I am getting out graphs with no data on them, I was given guidance to flatten or use receptions: on the receptions but however I am doing it is not working.
Code so far.
import numpy as np
import matplotlib.pyplot as plt
npzfile nploadprojpartnpz
fsnpzfilefs
starttimenpzfilestarttime
nreceptionsnpzfilenreceptions
receptionsnpzfilereceptions
fcnpzfilefc
pulsetypenpzfilepulsetype
sigdurnpzfilesigdur
timevector nparangestarttime starttime sigdur, fs
#receptions:
#receptions.flatten
pltplottimevector, receptions
plttitleRecieved Data vs Time'
pltxlabelTime s
pltylabelRecieved Data'
pltshow
dBdynrange
pltfigurefigsize
spec,freqs,tspec,impltspecgramreceptions NFFT Fsfs mode'magnitude', scaledB sides'twosided'
pltcolorbarlabel'Magnitude dB
pltxlabelTime s
pltylabelFrequency Hz
plttitleTwoSided Spectrogram of Received Data'
pltshow
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
