QQ登录

只需要一步,快速开始

 注册地址  找回密码
查看: 2711|回复: 0
打印 上一主题 下一主题

[代码资源] matlab

[复制链接]
字体大小: 正常 放大

28

主题

5

听众

1865

积分

  • TA的每日心情
    开心
    2014-9-21 08:29
  • 签到天数: 19 天

    [LV.4]偶尔看看III

    自我介绍
    我思我在

    新人进步奖 元老勋章 最具活力勋章

    群组数学建模

    群组中国矿业大学数学建模协会

    群组数学趣味、游戏、IQ等

    群组南京邮电大学数模协会

    群组LINGO

    跳转到指定楼层
    1#
    发表于 2009-4-19 18:19 |只看该作者 |倒序浏览
    |招呼Ta 关注Ta
    function q=mmhole(x,y,z,xlim,ylim)5 \! V$ B, S+ v& A% f. s
    %MMHOLE Create Hole in 3D Graphics Data
    3 L) s/ B/ j7 Z7 _. E, q- m. Y% Z=MMHOLE(X,Y,Z,Xlim,Ylim) sets the data in Z to NaN
    % m0 K$ w. x' q' G. ?. a) B% corresponding to the limits in Xlim=[Xmin Xmax] and) V, K/ @$ l2 v" w
    % Ylim=[Ymin Ymax]. If Xlim or Ylim are empty they are; i! C/ k' K; n# T$ D
    % assumed to be [-inf inf].2 i' ^6 m$ }5 h( h; ?7 T0 B6 q
    % X and Y can be plaid matrices, e.g., created by MESHGRID5 J# c9 c6 k: @; J( \
    % or they can be vectors defining the x and y axes.
    - e* z. C+ `& m%8 B% S8 r( @) K3 C& \
    % Z=MMHOLE(Z,Clim,Rlim) creates the NaN hole based on the & r! g4 {; m: E8 W
    % column index limits in Clim and the row index limits in Rlim' s0 u/ a8 w. g
    %9 {  i2 H: `' d2 P2 |
    % Resulting data can be plotted using mesh or surf:4 O7 b% T: u' ?7 r7 u! ?; ~9 h
    % MESH(X,Y,Z) or SURF(X,Y,Z)& A9 u' D5 Y2 W4 y" E
    % This function automates the procedure described on
    & \8 M1 p7 O5 A4 X% page 249 of "Mastering MATLAB".
    , |7 t$ s% Y8 j# ]' G) e& A! E# L; P
    % D.C. Hanselman, University of Maine, Orono ME,  04469
      V3 E  o& g: m% E6 Z) }% 9/26/959 j5 @$ o! R  d8 I3 p. i6 J
    % Copyright (c) 1996 by Prentice-Hall, Inc.2 T3 }  m# H: d7 \, O" Q7 S1 Z: [

    ) Y+ ^/ X9 Q3 |2 Fif nargin==3
    zan
    转播转播0 分享淘帖0 分享分享0 收藏收藏0 支持支持0 反对反对0 微信微信
    您需要登录后才可以回帖 登录 | 注册地址

    qq
    收缩
    • 电话咨询

    • 04714969085
    fastpost

    关于我们| 联系我们| 诚征英才| 对外合作| 产品服务| QQ

    手机版|Archiver| |繁體中文 手机客户端  

    蒙公网安备 15010502000194号

    Powered by Discuz! X2.5   © 2001-2013 数学建模网-数学中国 ( 蒙ICP备14002410号-3 蒙BBS备-0002号 )     论坛法律顾问:王兆丰

    GMT+8, 2026-4-10 16:32 , Processed in 0.310461 second(s), 52 queries .

    回顶部