| ²é¿´: 1605 | »Ø¸´: 3 | |||
lixixiao2ͳæ (СÓÐÃûÆø)
|
[ÇóÖú]
matlab surfº¯ÊýµÄʹÓÃ
|
|
y£¨i£¬j£©ÊÇÒ»¸ö600*3600µÄ¾ØÕó£¬ÒѾÇó½â³öÀ´ÁË£¬Ï£ÍûÓÃsurfº¯Êý£¬½«i£¬j×÷Ϊº¯ÊýyµÄÁ½¸ö×Ô±äÁ¿±íʾ³ÉͼÐÎÊä³ö³öÀ´£¬Çó´óÉñÏàÖú¡£ ÕâÊÇÎÒдµÄÓï¾ä£º [i,j]=meshgrid(1:600,1:3600); for i=1:600 for j=1:3600 z(i,j)=y(i,j); end end surf(i,j,z) µ«´íÎóºÜ¶à£¬ÔËÐÐmatlabÌáʾ£º ??? Error using ==> surf at 78 Data dimensions must agree. Error in ==> DEEuler at 73 surf(i,j,z) [ Last edited by lixixiao2 on 2012-10-17 at 10:36 ] |
» ²ÂÄãϲ»¶
08¹¤¿Æ£¬295£¬½ÓÊÜ¿çרҵµ÷¼Á
ÒѾÓÐ4È˻ظ´
318Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
307·ÖÇóµ÷¼Á
ÒѾÓÐ4È˻ظ´
288×ÊÔ´Óë»·¾³×¨Ë¶Çóµ÷¼Á£¬²»ÏÞרҵ£¬ÓÐѧÉϾÍÐÐ
ÒѾÓÐ17È˻ظ´
085601 329·Öµ÷¼Á
ÒѾÓÐ6È˻ظ´
343Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
070300»¯Ñ§Çóµ÷¼Á
ÒѾÓÐ10È˻ظ´
ѧ˶274Çóµ÷¼Á
ÒѾÓÐ17È˻ظ´
346Çóµ÷¼Á Ò»Ö¾Ô¸070303Óлú»¯Ñ§
ÒѾÓÐ11È˻ظ´
085601 ²ÄÁϹ¤³Ì 313·Ö Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
Çómatlab»Ò»¸öº¯ÊýµÄͼ
ÒѾÓÐ6È˻ظ´
MATLABº¯ÊýËÙ²éÊÖ²á
ÒѾÓÐ211È˻ظ´
matlab surfº¯Êý
ÒѾÓÐ3È˻ظ´
matlabµÄº¯Êýµ÷ÓÃÎÊÌâ
ÒѾÓÐ3È˻ظ´
Îʸö¹ØÓÚmatlabÀïfindº¯ÊýµÄÎÊÌ⣡
ÒѾÓÐ4È˻ظ´
ÇóÖú£ºË»áÓÃmatlab»Í¼£¿
ÒѾÓÐ13È˻ظ´
matlab×öº¯ÊýͼÏóµÄÎÊÌâ
ÒѾÓÐ6È˻ظ´
navolo
ľ³æ (ÕýʽдÊÖ)
- Ó¦Öú: 13 (СѧÉú)
- ½ð±Ò: 3878.3
- É¢½ð: 5
- ºì»¨: 18
- Ìû×Ó: 419
- ÔÚÏß: 174Сʱ
- ³æºÅ: 1500304
- ×¢²á: 2011-11-19
- ÐÔ±ð: GG
- רҵ: ÎÞ»ú·Ç½ðÊôÀà¹âµçÐÅÏ¢Ó빦
¡¾´ð°¸¡¿Ó¦Öú»ØÌû
|
ÄãµÄ¾ØÕóάÊý²»Ò»Ö£¬ ¹ØÓÚsurfÃüÁîÓëmeshʹÓÃÀàËÆ£¬Äã¿ÉÒÔ¿´Ï°ïÖúhelp surf help surf SURF 3-D colored surface. SURF(X,Y,Z,C) plots the colored parametric surface defined by four matrix arguments. The view point is specified by VIEW. The axis labels are determined by the range of X, Y and Z, or by the current setting of AXIS. The color scaling is determined by the range of C, or by the current setting of CAXIS. The scaled color values are used as indices into the current COLORMAP. The shading model is set by SHADING. SURF(X,Y,Z) uses C = Z, so color is proportional to surface height. SURF(x,y,Z) and SURF(x,y,Z,C), with two vector arguments replacing the first two matrix arguments, must have length(x) = n and length(y) = m where [m,n] = size(Z). In this case, the vertices of the surface patches are the triples (x(j), y(i), Z(i,j)). Note that x corresponds to the columns of Z and y corresponds to the rows. SURF(Z) and SURF(Z,C) use x = 1:n and y = 1:m. In this case, the height, Z, is a single-valued function, defined over a geometrically rectangular grid. SURF(...,'PropertyName',PropertyValue,...) sets the value of the specified surface property. Multiple property values can be set with a single statement. SURF(AX,...) plots into AX instead of GCA. SURF returns a handle to a surface plot object. AXIS, CAXIS, COLORMAP, HOLD, SHADING and VIEW set figure, axes, and surface properties which affect the display of the surface. Backwards compatibility SURF('v6',...) creates a surface object instead of a surface plot object for compatibility with MATLAB 6.5 and earlier. See also surfc, surfl, mesh, shading. Overloaded functions or methods (ones with the same name in other directories) help sweepset/surf.m Reference page in Help browser doc surf |
2Â¥2012-10-30 22:07:50
wurongjun
ר¼Ò¹ËÎÊ (Ö°Òµ×÷¼Ò)
-

ר¼Ò¾Ñé: +831 - ÊýѧEPI: 9
- Ó¦Öú: 791 (²©ºó)
- ¹ó±ö: 0.308
- ½ð±Ò: 24609
- É¢½ð: 310
- ºì»¨: 75
- Ìû×Ó: 3004
- ÔÚÏß: 881.4Сʱ
- ³æºÅ: 1368482
- ×¢²á: 2011-08-14
- ÐÔ±ð: GG
- רҵ: ¼ÆËãÊýѧÓë¿ÆÑ§¹¤³Ì¼ÆËã
- ¹ÜϽ: Êýѧ

3Â¥2012-10-30 22:25:41
zsy312
Òø³æ (СÓÐÃûÆø)
- ÊýѧEPI: 1
- Ó¦Öú: 8 (Ó×¶ùÔ°)
- ½ð±Ò: 495.5
- ºì»¨: 1
- Ìû×Ó: 145
- ÔÚÏß: 20.7Сʱ
- ³æºÅ: 756330
- ×¢²á: 2009-04-24
- ÐÔ±ð: GG
- רҵ: Êýѧ
4Â¥2012-11-04 11:45:55














»Ø¸´´ËÂ¥