如何在Scilab中找到两条曲线的交点?
我有两条曲线(非线性),即 C1 和 C2。彼此相交(可以多次)。 我需要仅使用 Scilab 找到这些交点。
I have two curves (non linear) say C1 and C2. which intersect with each other(can be more than once).
I need to find these points of intersection using Scilab only.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
开源工程 上的 Scilab 教程中有两个示例:
在 Scilab 中求解非线性系统 [PDF]。
There's two examples of this in the an Scilab tutorial over at Open Source Engineering:
Solving Nonlinear Systems in Scilab [PDF].
你好 Scilab 和 Matlab 社区,
虽然这是一个古老的线程,但我会发布一个答案。由插值点给出的两条曲线的交点是一个标准问题。我必须针对特定的应用程序解决它,在网络上发现了许多有用的灌输,但没有可行的解决方案。下面是函数 X_Crossing 应用于为此线程发明的一个重要情况(利萨如线和由 NaN 分隔的两个椭圆之间的一堆交点。)
为了方便起见,复制并粘贴到 Scilab 控制台应该足以显示结果。
祝你好运
Rosestock
抱歉,我不明白你的代码块说明。
抱歉,我没有找到预览按钮。
Hallo Scilab and Matlab community,
Although this is an ancient thread I will post an answer. Intersection of two curves given by interpolation points is a standard problem. I had to solve it for a particular application, found many useful indoctrinations in the web but no viable solution. Below it comes as the function X_Crossing applied to a non trivial situation invented for this thread (a bunch of intersections between a Lissajous line and two ellipses separated by NaNs.)
For convenience copy and paste into the Scilab console should suffice to present the result.
Good luck
Rosestock
Sorry, I did notunderstand your code block instructions.
And sorry, I did not find the preview button.
步骤1 在控制台中输入“xclick”,然后按 Enter
步骤2 现在进入图形窗口
Step3.单击曲线C1和C2相交的点。
“您可以在控制台中获取点坐标(输出交点)”
Step1 Type "xclick" in console and then tap enter
step2 now go to your graphics window
Step3.click on point where the curves C1 and C2 touch each other.
"you can able to get the point coordinates(output_point of intersection) in the console"