图3 d网格
fmesh (<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-f" class="intrnllnk">
创建一个网格图的符号表达式f
)f (x, y)
在默认的间隔5 [5]
为x
和y
。
fmesh (<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-f" class="intrnllnk">
情节f
,<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-minmax" class="intrnllnk">(最小最大)
)f (x, y)
在时间间隔(最小最大)
为x
和y
。
fmesh (<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-f" class="intrnllnk">
情节f
,<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-xminxmaxyminymax" class="intrnllnk">[xmin xmax ymin ymax]
)f (x, y)
在时间间隔[xmin xmax]
为x
和[ymin ymax]
为y
。<年代pan>的fmesh
函数使用symvar
命令的变量并分配间隔。
fmesh (<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-funxfunyfunz" class="intrnllnk">
情节参数网格好笑,funx funz
)x = x (u, v)
,y = y (u, v)
,z = z (u, v)
在时间间隔5 [5]
为u
和v
。
fmesh (<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-funxfunyfunz" class="intrnllnk">
情节参数网格好笑,funx funz
,<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-uvminuvmax" class="intrnllnk">[uvmin uvmax]
)x = x (u, v)
,y = y (u, v)
,z = z (u, v)
在时间间隔[uvmin uvmax]
为u
和v
。
fmesh (<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-funxfunyfunz" class="intrnllnk">
情节参数网格好笑,funx funz
,<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-uminumaxvminvmax" class="intrnllnk">[umin umax vmin vmax]
)x = x (u, v)
,y = y (u, v)
,z = z (u, v)
在时间间隔[umin umax]
为u
和[vmin vmax]
为v
。<年代pan>的fmesh
函数使用symvar
命令参数变量并分配间隔。
fmesh (<年代pan class="argument_placeholder">___
,<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv_sep_mw_3a76f056-2882-44d7-8e73-c695c0c54ca8" class="intrnllnk">LineSpec
)使用LineSpec
设置线的风格,标志符号,和情节的颜色。
fmesh (<年代pan class="argument_placeholder">___
,<一个href="//www.tatmou.com/nl/help/symbolic/#namevaluepairarguments" class="intrnllnk">名称,值
)指定表面使用一个或多个属性名称,值
对参数。使用这个选项的任何输入参数组合在前面的语法。
fmesh (<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-ax" class="intrnllnk">
)情节轴与对象斧头
,<年代pan class="argument_placeholder">___斧头
而不是当前轴对象gca
。
)返回一个函数对象或表面参数化函数对象表面。使用对象查询和修改属性的一个特定的网格。obj
= fmesh (<年代pan class="argument_placeholder">___
fsurf
页面请注意
附加的例子,遵循<一个href="//www.tatmou.com/nl/nl/help/symbolic/fsurf.html">fsurf
页面,因为fmesh
和fsurf
共享相同的语法。所有的例子fsurf
页面申请fmesh
。
画一个网状的输入<年代pan class="inlineequation"> 在默认的范围<年代pan class="inlineequation"> 和<年代pan class="inlineequation"> 。
信谊<年代pan style="color:#A020F0">xyfmesh (sin (x) + cos (y))
情节的实部的三维网格<年代pan class="inlineequation"> 在默认的范围<年代pan class="inlineequation"> 和<年代pan class="inlineequation"> 。
信谊<年代pan style="color:#A020F0">f (x, y)f (x, y) =现实(世界(x + i * y));fmesh (f)
情节<年代pan class="inlineequation">
在<年代pan class="inlineequation">
和<年代pan class="inlineequation">
通过指定策划间隔作为第二个参数fmesh
。
信谊<年代pan style="color:#A020F0">xyf = sin (x) + cos (y);fmesh (f[-ππ5 5])
图参数化网格
为<年代pan class="inlineequation">
和<年代pan class="inlineequation">
。使轴平等使用的宽高比轴平等
。看到整个网的网部分透明α
。
信谊<年代pan style="color:#A020F0">年代tr = 8 +罪(7 s + 5 * t *);x = r * cos (s) * sin (t);y = r * sin (s) * sin (t);z = r * cos (t);fmesh (x, y, z,(0 0 2 *ππ)<年代pan style="color:#A020F0">“线宽”2)轴<年代pan style="color:#A020F0">平等的α(0.8)
fsurf
页面请注意
附加的例子,遵循<一个href="//www.tatmou.com/nl/nl/help/symbolic/fsurf.html">fsurf
页面,因为fmesh
和fsurf
共享相同的语法。所有的例子fsurf
页面申请fmesh
。
fmesh
符号变量的分配<一个href="//www.tatmou.com/nl/help/symbolic/#bu008tv-f" class="intrnllnk">f
到x
轴,那么y
轴,<一个href="//www.tatmou.com/nl/nl/help/symbolic/symvar.html">symvar
确定变量的顺序分配。因此,变量和轴名称可能不对应。强迫fmesh
分配x或y其对应的轴,创建符号函数图,然后通过符号函数fmesh
。
例如,下面的代码块的网f(x,y)=罪(y在两个方面)。第一种方法强迫波的振荡y轴。第二种方法分配y到x轴,因为它是第一个(只)变量符号函数。
信谊<年代pan style="color:#A020F0">xy;f (x, y) =罪(y);图;次要情节(2,1,1)fmesh (f);次要情节(2,1,2)fmesh (f (x, y));<年代pan style="color:#228B22">%或fmesh (sin (y));
fcontour
|<年代pan itemscope itemtype="//www.tatmou.com/help/schema/MathWorksDocPage/SeeAlso" itemprop="seealso">fimplicit
|<年代pan itemscope itemtype="//www.tatmou.com/help/schema/MathWorksDocPage/SeeAlso" itemprop="seealso">fimplicit3
|<年代pan itemscope itemtype="//www.tatmou.com/help/schema/MathWorksDocPage/SeeAlso" itemprop="seealso">fplot
|<年代pan itemscope itemtype="//www.tatmou.com/help/schema/MathWorksDocPage/SeeAlso" itemprop="seealso">fplot3
|<年代pan itemscope itemtype="//www.tatmou.com/help/schema/MathWorksDocPage/SeeAlso" itemprop="seealso">fsurf