数学建模社区-数学中国

标题: matlab 建模入门 [打印本页]

作者: qjay612    时间: 2009-3-7 22:06
标题: matlab 建模入门
专门针对于建模的pdf,分享一下[attach]5956[/attach]

官方教材:Matlab7.0学习资料.pdf

2.81 MB, 下载次数: 103, 下载积分: 体力 -2 点


作者: wudehua    时间: 2009-3-9 10:18
好东东啊~~~~~~~~~~~~~~~~
作者: thinking_365    时间: 2009-3-10 23:11
顶一个啦。
作者: walker160    时间: 2009-3-31 22:25
矩阵币不足
作者: sxp    时间: 2009-4-2 00:24
矩阵币不足了
作者: 04079029    时间: 2009-4-10 16:28
顶了。。。。。。。。。。。
作者: 04079029    时间: 2009-4-10 16:28
好东西 哦哦
作者: smilemare    时间: 2009-4-17 14:56
看一下,,先
作者: guanlan12    时间: 2009-4-18 20:31
顶一个!!
作者: majiancumt    时间: 2009-4-19 18:32
function mmline(arg1,arg2,arg3,arg4,arg5,arg6)
%MMLINE Set Line Properties Using Mouse.
% MMLINE waits for a mouse click on a line then
% applies the desired properties to the selected line.
% Properties are given in pairs, e.g., MMLINE name value ...
% Properties:
% NAME                VALUE                {default}
% color                [y m c r g b w k] or an rgb in quotes: '[r g b]'
% style                [-  --  :  -.]
% mark                [o  +  .  *  x)]
% width                points for linewidth {0.5}
% size                points for marker size (6)
% zap                (n.a.)  delete selected line
% Examples:
% MMLINE color r width 2   sets color to red and width to 2 points
% MMLINE mark + size 8     sets marker type to + and size to 8 points
% MMLINE color '[1 .5 0]'  sets color to orange
%
% Clicking on an object other than a line, or striking
% a key on the keyboard aborts the command.

% D.C. Hanselman, University of Maine, Orono, ME, 04469
% 4/27/95
% Copyright (c) 1996 by Prentice-Hall, Inc.

Hf=mmgcf;
if isempty(Hf), error('No Figure Available.'), end
if length(get(0,'Children'))==1
        figure(Hf) % bring only figure forward
end
key=waitforbuttonpress;
if key  % key on keyboard pressed
        return
else    % object selected
        Hl=gco;
        if strcmp(get(Hl,'Type'),'line') % line object selected
                for i=1:2:max(nargin-1,1)
                        name=eval(sprintf('arg%.0f',i),'[]'); % get name argument
                        if strcmp(name,'zap')
                                delete(Hl),return
                        end
                        value=eval(sprintf('arg%.0f',i+1),'[]'); % get value argument
                        if strcmp(name,'color')
                                if value(1)=='[',value=eval(value);end
                                set(Hl,'Color',value)
                        elseif strcmp(name,'style')
                                set(Hl,'Linestyle',value)
                        elseif strcmp(name,'mark')
                                set(Hl,'Linestyle',value)
                        elseif strcmp(name,'width')
                                value=abs(eval(value));
                                set(Hl,'LineWidth',value)
                        elseif strcmp(name,'size')
                                value=abs(eval(value));
                                set(Hl,'MarkerSize',value)
                        else
                                disp(['Unknown Property Name: ' name])
                        end
                end
        end
end
作者: majiancumt    时间: 2009-4-19 18:33
function mmline(arg1,arg2,arg3,arg4,arg5,arg6)
%MMLINE Set Line Properties Using Mouse.
% MMLINE waits for a mouse click on a line then
% applies the desired properties to the selected line.
% Properties are given in pairs, e.g., MMLINE name value ...
% Properties:
% NAME                VALUE                {default}
% color                [y m c r g b w k] or an rgb in quotes: '[r g b]'
% style                [-  --  :  -.]
% mark                [o  +  .  *  x)]
% width                points for linewidth {0.5}
% size                points for marker size (6)
% zap                (n.a.)  delete selected line
% Examples:
% MMLINE color r width 2   sets color to red and width to 2 points
% MMLINE mark + size 8     sets marker type to + and size to 8 points
% MMLINE color '[1 .5 0]'  sets color to orange
%
% Clicking on an object other than a line, or striking
% a key on the keyboard aborts the command.

% D.C. Hanselman, University of Maine, Orono, ME, 04469
% 4/27/95
% Copyright (c) 1996 by Prentice-Hall, Inc.

Hf=mmgcf;
if isempty(Hf), error('No Figure Available.'), end
if length(get(0,'Children'))==1
        figure(Hf) % bring only figure forward
end
key=waitforbuttonpress;
if key  % key on keyboard pressed
        return
else    % object selected
        Hl=gco;
        if strcmp(get(Hl,'Type'),'line') % line object selected
                for i=1:2:max(nargin-1,1)
                        name=eval(sprintf('arg%.0f',i),'[]'); % get name argument
                        if strcmp(name,'zap')
                                delete(Hl),return
                        end
                        value=eval(sprintf('arg%.0f',i+1),'[]'); % get value argument
                        if strcmp(name,'color')
                                if value(1)=='[',value=eval(value);end
                                set(Hl,'Color',value)
                        elseif strcmp(name,'style')
                                set(Hl,'Linestyle',value)
                        elseif strcmp(name,'mark')
                                set(Hl,'Linestyle',value)
                        elseif strcmp(name,'width')
                                value=abs(eval(value));
                                set(Hl,'LineWidth',value)
                        elseif strcmp(name,'size')
                                value=abs(eval(value));
                                set(Hl,'MarkerSize',value)
                        else
                                disp(['Unknown Property Name: ' name])
                        end
                end
        end
end
作者: jrf139    时间: 2009-4-29 14:59
这钱太难赚了啊
作者: 黄淑芬    时间: 2009-6-9 11:12
下了,············:)
作者: mcchi    时间: 2009-6-20 08:34
是中文的吗
作者: hl1989    时间: 2009-7-7 20:21
呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵
作者: lonelybyte    时间: 2009-7-9 12:27
1# qjay612


看看再说!!
呵呵
作者: 金学    时间: 2010-4-17 20:48
% applies the desired properties to the selected line.
# p$ n) o* W& t" Z6 N% Properties are given in pairs, e.g., MMLINE name value ...  L  `& c: }2 o! G7 G
% Properties:
$ `. K& \3 ~: X8 y0 w; s" _! ?%




欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5