三维图像的画法。
4 views (last 30 days)
Show older comments
请问一下大家这个函数的图像怎么编程:
x,y均属于[0,1],且x+y<=1;
t=max(x,y,1-x-y)
n=5+45/(1/x+1/y+1/(1-x-y));
z=0.2806*((3*(1-t)*54.94+t).*n./100+54.94)/1.05;+34.208+0.04+(0.2-x)*0.2+0.1793*8.6*(y+1-x)/2+0.0899.*(44.868+n/100.*(2.*x-1))./(1+n);
画出x-y-z的图像
0 Comments
Accepted Answer
dyegqwd
on 23 May 2023
再构造个三维数组A,每一层分别是 x, y, 1 - x - y;
用 t( x + y > 1 ) = NaN 来只保留符合条件的那部分;
接着自己用点运算求 n 和 z 矩阵;
0 Comments
More Answers (0)
See Also
Categories
Find more on 曲面图和网格图 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!