代码搜索:MATLAB LMD
找到约 10,000 项符合「MATLAB LMD」的源代码
代码结果 10,000
www.eeworm.com/read/306478/13744600
m ip_01_01.m
% MATLAB script for Illustrative Problem 1, Chapter 1.
clear
n=[-20:1:20];
x=abs(sinc(n/2));
stem(n,x);
www.eeworm.com/read/306478/13744648
m ip_04_04.m
% MATLAB script for Illustrative Problem 4.4.
clear
echo on ;
a=[-10,-5,-4,-2,0,1,3,5,10];
for i=1:length(a)-1
y(i)=centroid('normal',a(i),a(i+1),0.001,0,1);
echo off ;
end
www.eeworm.com/read/305390/13772285
m crnich.m
function U=crnich(f,c1,c2,a,b,c,n,m)
%Input - f=u(x,0)
% - c1=u(0,t) and c2=u(a,t)
% - a and b right endpoints of [0,a] and [0,b]
% - c the constant in the heat eq
www.eeworm.com/read/304881/13784515
m ip_01_01.m
% MATLAB script for Illustrative Problem 1, Chapter 1.
n=[-20:1:20];
x=abs(sinc(n/2));
stem(n,x);
www.eeworm.com/read/304826/13785984
txt 08-06.txt
%例8-6 给MATLAB 7的图形添加标题。
>> x = 0:.1:2;
>>y1=sin(x);
>>y2 = sin(x-0.25);
>>y3 = sin(x-0.5);
>> plot(x,y1,'-.b', x,y2,'--r*', x,y3,'-.gh')
>> title('There three lines')
>>
www.eeworm.com/read/304826/13786161
txt 10-41.txt
%例10-41 运行错误的处理。
%编制M文件如下。
function d=yunxingcuowu(a,b,c)
d=a/b;
if isinf(d) %对可能产生的inf值做出判断
sprintf('b should not be 0')
return
else
d=d*c;
end
%为了检验该程序,
www.eeworm.com/read/304351/13795628
m exn842a.m
%《MATLAB及其在理工课程中的应用指南》(十一五规划版)第八章例8-4-2程序a
% Smith阻抗圆图的绘制(复数绘图方法)
% 西安电子科技大学出版社出版 陈怀琛编著 2007年7月
%
% 直接用复数绘制Smith圆图
p = logspace(-2,2);
% q=logspace(-2,1,10);
q = [eps,0.05,0.1,0.2,0.5,1,2,5,10
www.eeworm.com/read/304351/13795661
m exn513.m
%《MATLAB及其在理工课程中的应用指南》(十一五规划版)第五章例5-1-3程序
% 曲线族的绘制
% 西安电子科技大学出版社出版 陈怀琛编著 2007年5月
clear,clf
x=-2:0.1:2; % 给定x数组,确定范围及取点密度
subplot(1,2,1) % 分两个画面绘图
for c=-3:3
plot(x,x.^3+c*x),ho
www.eeworm.com/read/304351/13795662
m exn532t.m
%《MATLAB及其在理工课程中的应用指南》(十一五规划版)第五章例5-3-2
% 用平行截面分析空间曲面
% 西安电子科技大学出版社出版 陈怀琛编著 2007年5月
%
clear, n1=input('n1= '); syms k,
for n=1:n1 s1(n)=symsum(1/k^2,1,n);end,
plot(1:n,double(s1)),hold on
for
www.eeworm.com/read/304351/13795663
m exn532a.m
%《MATLAB及其在理工课程中的应用指南》(十一五规划版)第五章例5-3-2a
% 用符号数学求数列前有限项的和
% 西安电子科技大学出版社出版 陈怀琛编著 2007年7月
%
clear, close all
n1=input('n1= '); syms k,
for n=1:n1 s1(n)=symsum(1/k^2,1,n);end,
plot(1:n,double(s1