You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What if i want to just do a simulation on lower frequency let's say 25KHz I had tried with the code already it looks like the coarse_acquisition_code_signal is calculated incorrectly . Here is the case test run :
This is coarse_acquisition_code_frequency : 2500.0
Base frequency: 25000
Carrier frequency: 175000
CA code frequency: 2500.0
Message frequency: 500
Reference frequency: 32000
Reference multiplier: 5
Mixer frequency: 160000
Intermediate frequency: 15000
Filter bandwidth: 4000
Sampling frequency: 68000.0
Carrier done.
CA code done.
Message done.
message_signal.shape = (48972,)
carrier_signal.shape = (48999,)
(coarse_acquisition_code_signal.shape = (0,)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-24-2baee26d4572>in<module>
320 print(coarse_acquisition_code_signal)
321
--> 322 output_signal = message_signal * carrier_signal * coarse_acquisition_code_signal
323 print("Output done.")
324
ValueError: operands could not be broadcast together with shapes (48972,) (48999,)
I may be wrong somewhere. Can you please explain how can i calculate relative reference frequency and sampling rate ? Do we need intermediate frequency at all ? Can i just by pass those ?
Thanks.
The text was updated successfully, but these errors were encountered:
What if i want to just do a simulation on lower frequency let's say 25KHz I had tried with the code already it looks like the
coarse_acquisition_code_signal
is calculated incorrectly . Here is the case test run :I may be wrong somewhere. Can you please explain how can i calculate relative reference frequency and sampling rate ? Do we need intermediate frequency at all ? Can i just by pass those ?
Thanks.
The text was updated successfully, but these errors were encountered: