求解释matlab函数意义函数如下所示:function r=setpath(r,dot_index,dot_x,dot_y,type)r.path_dot(1,dot_index) = dot_x;r.path_dot(2,dot_index) = dot_y;r.path_dot(3,dot_index) = type;end
来源:学生作业学帮网 编辑:学帮网 时间:2024/06/17 21:19:24
求解释matlab函数意义
函数如下所示:
function r=setpath(r,dot_index,dot_x,dot_y,type)
r.path_dot(1,dot_index) = dot_x;
r.path_dot(2,dot_index) = dot_y;
r.path_dot(3,dot_index) = type;
end
首先r是个结构体,其中有一个成员变量path_dot.
path_dot是一个数组
这个函数的作用是,将结构体r的成员变量path_dot(数组)相应元素进行设置.
具体设置哪个元素和设置什么由dot_index,dot_x,dot_y,type决定.
设置如下:
path_dot(1,dot_index) = dot_x;
path_dot(2,dot_index) = dot_y;
path_dot(3,dot_index) = type;
求解释matlab函数意义函数如下所示:function r=setpath(r,dot_index,dot_x,dot_y,type)r.path_dot(1,dot_index) = dot_x;r.path_dot(2,dot_index) = dot_y;r.path_dot(3,dot_index) = type;end
matlab求正态分布函数.
求matlab数学函数?
matlab小白贵跪求高手 ,求高手用matlab计算如下函数值 感激不尽
求matlab中fmincon函数格式的中文解释?
MATLAB求最小二乘法所建立的目标函数的方法?
求matlab分段线性逼近曲线函数代码 曲线函数函数如下y=x+0.1xx,
matlab plot函数的意义是什么?
跪求大神解释二元函数方向导数几何意义
MATLAB中函数im()怎么解释
用matlab求函数极值.
求MATLAB工具箱函数汇总
用matlab求函数最值点
MATLAB中用size函数求图像的行数和列数时,为什么出现如下结果?
如何用matlab画这个函数?函数如上所示,如何画三维图?
matlab中如何生成符合双峰正态分布的随机数已知双峰正态分布的概率密度函数如下所示:如何用matlab生成10000个随机数X,使其符合上述的双峰正态分布?
对数函数,求解释
数学函数.求解释