代码搜索:MATLAB LMD
找到约 10,000 项符合「MATLAB LMD」的源代码
代码结果 10,000
www.eeworm.com/read/390194/8478064
txt 07-15.txt
例7-15 使用finverse函数进行反函数运算。
解:在命令窗口中输入如下命令,并按Enter键确认。
>> syms x y
>> f = x^2+y]
>> f = x^2+y
f =
x^2+y
>> finverse(f,y)
ans =
-x^2+y
>> finverse(f)
Warning: finverse(x^2+y) is not un
www.eeworm.com/read/390194/8478191
txt 10-21.txt
%例10-21 nargin函数的初级使用方法。
%本程序实现如下功能,当调用过程时小于或等于一个变量时,系统提示错误的输入,当有两个变量时,程序将两个数相加,当有3个变量时,将前两个数相加并减去第3个。程序如下。
function d=nargintest(a,b,c)
if nargin
www.eeworm.com/read/390194/8478208
txt 10-27.txt
%例10-27 本例调用一个函数plotfhandle,传递一个MATLAB 7.1内置的sin函数给该函数,然后,由plotfhandle调用plot函数,将数据和sin的函数句柄传递给它。 plot 函数调用与该句柄相关的函数来绘制曲线。
function x = plotFHandle(fhandle, data)
plot(data, fhandle(data))
%在命令窗口中调
www.eeworm.com/read/390194/8478222
txt 10-35.txt
%例10-35 <mark>MATLAB</mark>中显示当前日期和时间。
%ATLAB 7.1中输入上述时间函数,并按Enter键确认。
>> T=clock
>>
%以上是以向量形式表示的本书这一部分编写时所处的时间,即2004年9月16号14时58分第9.2秒。
>>date
%以上是编写本身这一部分的日期。
>> now
%以上是以双精度数据表示的当前的日期和时间。
>>calen ...
www.eeworm.com/read/390194/8478307
txt 9-01.txt
%例9-1 本例将创建3个图形对象,并给图形对象、坐标轴对象和面图命令设置特定的值,MATLAB 7 将给其他的属性设置默认值。
>> [x,y] = meshgrid([-2:.4:2]);
>> Z = x.*exp(-x.^2-y.^2);
>> fh = figure('Position',[350 275 600 450],'Color','w');
>> ah = axes
www.eeworm.com/read/290205/8496330
txt mm5.txt
Mastering MATLAB 5: a comprehensive tutorial and reference
作者: Duane Hanselman、Bruce Littlefield
ISBN: 0-13-858366-8
出版社: Prentice Hall
1998年
内容简介: 《精通MATLAB综合辅导与指南》一书的最新版
www.eeworm.com/read/189023/8496390
m ex0707.m
%例7-7 字符串的查找
a='Welcome to MATLAB!';
b='Welcome,Sir!';
c='Welcome';
ab=strcat(a,b)
strfind(ab,c) %strfind中长字符串在前,否则返回空数组
strfind(c,ab)
findstr(ab,c) %findstr中两个字符串位置可变
findstr(c,ab)
strmatch(
www.eeworm.com/read/189017/8496717
m ex0404.m
%例4-4 通过MATLAB函数获取多维数组的属性
A = cat(4, [9 2; 6 5], [7 1; 8 4]);
size(A) %获取数组A的尺寸属性
ndims(A) %获取数组A的维度属性
whos %显示当前工作区中各个变量的名称、尺寸、内存占用等信息
www.eeworm.com/read/290205/8496718
txt readme.txt
免费天地的计算机书籍配套磁盘服务
================================
本文件是从“免费天地”站点下载的。
(http://www.nease.net/~free)
---------------------------------------------------
与本磁盘配套的书籍的所有权益归原书作者和出版商所有。
我们提供配套磁盘只是为了
www.eeworm.com/read/290205/8496756
txt mmtool4.txt
精通MATLAB综合辅导与指南 (Mastering MATLAB: a comprehensive tutorial and reference)
作者: Duane Hanselman、Bruce Littlefield
ISBN: 7-5605-0933-9/TP 161
出版社: 西安交通大学出版社/Prentice Hall
1998年1月
内容简介:
本书介绍