在图表中绘制值的行为
我有一个具有以下格式的文件,其中包含一组浮点值:
a1 b1 c1
a2 b2 c2
---end-of-run-1
a1 b1 c1
a2 b2 c2
a3 b3 c3
a4 b4 c4
a5 b5 c5
---end-of-run-2
...
...
...
till n runs
我想在图表上将这组列(即由 a、b、c 组成)显示为不同的曲线。此外,每次运行收集的值数量也会有所不同。
我可以在 matlab 中使用哪些内置函数来确定图中这组值(a、b、c)在某些 n 次运行
上的行为?
I have a file in the following format with a set of floating-point values:
a1 b1 c1
a2 b2 c2
---end-of-run-1
a1 b1 c1
a2 b2 c2
a3 b3 c3
a4 b4 c4
a5 b5 c5
---end-of-run-2
...
...
...
till n runs
I want to show this set of columns (i.e. comprising of a,b,c) as different curves on a graph. Also, number of values collected for each run will vary.
Which in-built functions can I use in matlab to determine the behavior of this set of values(a, b, c) over some n runs
in a graph?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
又快又脏,但我会逐行浏览文件。
现在,为了确定值的行为,这取决于您是否尝试曲线拟合或拟合分布,如果是这样,我会推荐曲线拟合工具箱。
Quick and dirty, but I would go line by line through the file.
Now, in order to determine the behavior of the values it would depend if you trying to curve fit or fit a distribution, if so I would recommend the curve fitting toolbox.