Error in finding phase noise of an electrical oscillator...
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sibghat
le 24 Sep 2022
Déplacé(e) : Joel Van Sickel
le 28 Sep 2022
Hello everyone,
I hope you are doing well.
I recently came across the phaseNoiseMeasure method of MATLAB. I tried to run the example and it works perfectly (The example is also given on https://www.mathworks.com/help/msblks/ref/phasenoisemeasure.html). However, when I try to replace the signal data with a random Optisystem generated electrical oscillator or optical signal, it gives me an error.
The data file is also attached. Basically, what I am trying to do is generate a graph of phase noise vs frequency offset of the electrical oscillator signal.
Any help will be appreciated...
BR.
2 commentaires
Jeffrey Clark
le 25 Sep 2022
@khan, I assume the correct link is Measure and plot phase noise profile of time or frequency-domain signal - MATLAB phaseNoiseMeasure (mathworks.com) and specifically the examples. Please also include how you set the rbw,FrOffset, and PNTarget.
Réponse acceptée
Jeffrey Clark
le 26 Sep 2022
Déplacé(e) : Joel Van Sickel
le 28 Sep 2022
@khan, my guess is that your data frequency is not compatible with the other parameters; the example looks at a signal of 2.7G and yours is 20G. If you disable the plots do you get results returned?
I won't be able to help you anymore since I don't have that toolbox but now maybe someone else will.
You might try running the script with Pause on Errors set - many of the MATLAB functions' codes are available to view and will halt at the point of the error so you might be able to look at the variables and back into the code or caller to see what caused the plot vectors to be incompatible in length.
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Design and Simulate SerDes Systems dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!