How do I correct this error: "spectrum cannot be displayed for continuous or infinite times"

46 vues (au cours des 30 derniers jours)
I draw rf energy harvesting circuit for my project in simscape electrical and connected a scope to the circuit for display. When I run the simulation, a blank page displays saying "spectrum cannot be displayed for continuous or infinite times". Fiind attached snip cut of the rf circuit and the displayed error screen.
How do I please solve this issue?
  1 commentaire
David Kwabena Amesimenu
David Kwabena Amesimenu le 18 Nov 2025 à 1:15
Thank you so much for the solution. I will try the solution and let you know what the outcome will be.
Also, I would like to know how to appreciate my answerer by adding a vote?
Thank you.

Connectez-vous pour commenter.

Réponse acceptée

Sabin
Sabin le 24 Nov 2025 à 16:06
Based on the image, it seems that the Spectrum Analyzer is not connected to any source. The Spectrum Analyzer requires a discrete signal as its input. If your system operates in continuous time, you should insert a rate transition block with a fixed sample rate before the Spectrum Analyzer.
  1 commentaire
David Kwabena Amesimenu
David Kwabena Amesimenu le 24 Nov 2025 à 18:02
Thank you very much @Sabin for the answer.
I corrected the circuit by placing the rate transition block before the Spectrum Analyzer, and run the simulation. After running, the spectrum analyzer displayed a blank space and the top is written: "The Spectrum Analyzer requires 3071 additional samples to achieve the default RBW 488.2813 Hz. The current numberof input samples provided achieves an RBM of 1.0000 MHz".
Find attached the screenshot of the circuit and the displayed Spectrum Analyzer.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by