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

41 views (last 30 days)
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 Comment
David Kwabena Amesimenu
David Kwabena Amesimenu on 18 Nov 2025 at 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.

Sign in to comment.

Answers (1)

Sabin
Sabin on 24 Nov 2025 at 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 Comment
David Kwabena Amesimenu
David Kwabena Amesimenu on 24 Nov 2025 at 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.

Sign in to comment.

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!