三维图像的画法。
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
请问一下大家这个函数的图像怎么编程:
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 Kommentare
Akzeptierte Antwort
dyegqwd
am 23 Mai 2023
再构造个三维数组A,每一层分别是 x, y, 1 - x - y;
用 t( x + y > 1 ) = NaN 来只保留符合条件的那部分;
接着自己用点运算求 n 和 z 矩阵;
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 曲面图和网格图 finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!