Info

此问题已关闭。 请重新打开它进行编辑或回答。

What Are The Common Causes of Wild Fluctuations In An Array of Data?

1 次查看(过去 30 天)
While I cannot post the code, I hopefully should be able to describe the issue in enough detail.
I have a program that works fine for the vast majority of values. I start to run into an issue for a small subset of initial values. Another troubleshooting program plots a visual from a matrix of values, and in a distinct area, the program looks like it is breaking down. Two column arrays was taken from this matrix, one 'good' array which does not contain the troublesome data, and a 'bad' array which does.
In the 'bad' region of the 'bad' array, my numbers start to fluctuate wildly from positive, negative, and mixed positive-negative complex values for nearly every subsequent point, one after the other.
I would like any advice, if it can be given, why such behavior might occur in the hopes that I may use this knowledge to figure out why such behavior is occurring in my program. Thanks.
  2 个评论
Jan
Jan 2018-6-12
编辑:Jan 2018-6-12
This can be answered only, if you post the corresponding code.
The common case is a system, which unstable either inherently or due to an unstable numerical implementation.
BM
BM 2018-6-12
编辑:BM 2018-6-12
Hi Jan, can I ask what you mean by an unstable numerical implementation? Could this be a case of me pushing the accuracy limits of MATLAB? I certainly do obtain values, but so far even implementing some attempts to fix the issue using vpa have not yielded success.

回答(0 个)

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by