Why my plot does not correspond to real values?

30 views (last 30 days)
Dear all,
I am measuring the load of my circuit with scopes and displays, meawhile scopes plots 0, displays shows different values all over 0, I mean 20, 100, among others. Can you help me to troubleshoot this? The scope is properly connected as you might wonder. In the below images you can see how scope are properly connected at the same spot where displays are, and this latter produce a value which highly differs of scope.

Accepted Answer

Walter Roberson
Walter Roberson on 18 Oct 2025 at 1:46
Notice that the y axis goes up to 10^10. You have some early values that go up to roughly 22*10^10 and those early values are setting the y axis range to the point where values such as 10 or 20 are basically noise that is being rounded to 0. With your y axis up to 10^10, anything less than roughly 10^8 is going to round to 0.
  2 Comments
Tony
Tony on 18 Oct 2025 at 9:35
Dear Walter,
Thank you for your answer, but I have cheked those values for PL ([12000,10000, 9000, 7000, 7000, 7000, 8000, 8000, 9000, 6000, 8000, 8000, 3000, 9000, 8000, 12000, 11000, 12000, 11000, 6000, 12000, 5000, 12000, 7000]) as you can see this valueas are the same order. The problem might another thing that I still don`t see.
Walter Roberson
Walter Roberson on 18 Oct 2025 at 19:01
My speculation is that at time 0 the initialization of some blocks is such that the initial voltage calculated is approximately infinite, and that the voltage rapidly settles down after that. You need to monitor the first few voltage samples to check.

Sign in to comment.

More Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!