我有一个MxN矩阵,Z和一些变量h.该矩阵表示函数f(x,y)的解的点.h是点之间的间距.例如:
Z(x/h,y/h) = (some value in the Z direction), where x and y are some multiple of h
Run Code Online (Sandbox Code Playgroud)
域为0至M*h,范围为0至N*h.我想对矩阵定义的解决方案进行三维表示.该图应与使用pdetool生成的图类似.我如何在Matlab中执行此操作?
Oli*_*Oli 11
你可以使用surf或bar3.
这是文档:
冲浪:http://www.mathworks.fr/help/matlab/ref/surf.html; jsessionid = c680a6b29a1fa8ff47c120353c12

bar3:http:
//www.mathworks.fr/fr/help/matlab/ref/bar3.html

| 归档时间: |
|
| 查看次数: |
30626 次 |
| 最近记录: |