r - R中的3d流场
问题描述
我想在 R 中获得微分方程系统的 3D 流场。系统在代码中。
我已经看到 phaseR 只支持一维和二维。
Lorenz<-function(t, state, parameters) {
with(as.list(c(state, parameters)),{
# rate of change
dX <- a*X + Y*Z
dY <- b * (Y-Z)
dZ <- -X*Y + c*Y - Z
# return the rate of change+ list(c(dX, dY, dZ))
}) # end with(as.list ...
}
我期望流场类似于flowfield()
从“phaseR”包或“pplane”中获得的流场phaseArrows()
,但在 3D 中,因为系统有 3 个变量。
解决方案
推荐阅读
- angular - 多个对话框,for循环,打开 - angular 7 + angular material
- accessibility - 如何在 React Native Web (Expo) 中使用标签进行输入
- sql-server-data-tools - SSDT 生成脚本权限
- python - models.FileField.read csv 返回 b'0,0,0,0\n1,1,1,1'
- python - 两个不同的正则表达式
在 Python 中 - python - 如何在 Opencv 中绘制中间直线并以毫米为单位计算?
- c# - 在按钮上调整图像大小
- scilab - 寻找图形中心的SCILAB代码
- node.js - 如何更新 TensorFlow.js 保存/训练的模型
- ios - 为什么在 iOS 13 中没有调用 OpenUrl(),但在 iOS 12 中却调用了。(Xamarin.ios)