作业帮 > 综合 > 作业

请问matlab中peaks函数的定义域是什么?

来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/17 16:57:40
请问matlab中peaks函数的定义域是什么?
如果输入peaks(35)就会和直输入peaks产生的图片的x轴和y轴的坐标州的区域不一样,那到底括号内的参数是改变什么了?是定义域还是……?如果不是定义域,那定义域是什么?
请问matlab中peaks函数的定义域是什么?
你可以自己用命令
help peaks查看啊
------------------------------------------------------
peaks is a function of two variables, obtained by translating and scaling Gaussian distributions, which is useful for demonstratingmesh, surf, pcolor, contour, and so on.
Z = peaks; returns a 49-by-49 matrix.
Z = peaks(n); returns an n-by-n matrix.
Z = peaks(V); returns an n-by-n matrix, where n = length(V).
Z = peaks(X,Y); evaluates peaks at the given X and Y (which must be the same size) and returns a matrix the same size.
------------------------------------------------
括号内是矩阵的规模