代码搜索:MATLAB
找到约 10,000 项符合「MATLAB」的源代码
代码结果 10,000
www.eeworm.com/read/477455/6735975
m speedup3.m
function Speedup3
% Speedup3.m
% 功能:比较具有相同功能的自定义函数与MATLAB内部函数的运行速度
%
% 加快MATLAB执行程序的方法之三:尽量使用MATLAB内部函数(包括各种工具箱函数)
%
% Author: HUANG Huajiang
% Copyright 2003 UNILAB Research Center,
%
www.eeworm.com/read/476907/6754313
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/476907/6754361
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/476392/6759310
m exa20.m
t0= 0; tfinal =5; % time interval
x0 = [1, 0]; % initial conditions
% [t,x] = ode23('pendulum', t0, tfinal, x0); % use with MATLAB 4
tspan = [t0, tfinal];
www.eeworm.com/read/476392/6759313
m exa19.m
t0= 0; tfinal =15; % time interval
x0 = [0.5, 0]; % initial conditions
% [t,x] = ode23('electsys', t0, tfinal, x0); % use with MATLAB 4
tspan = [t0, tfinal];
www.eeworm.com/read/476392/6759316
m exa18.m
t0= 0; tfinal = 3; % time interval
x0 = [0, 0]; % initial conditions
% [t,x] = ode23('mechsys', t0, tfinal, x0); % use with MATLAB 4
tspan = [t0, tfinal];
www.eeworm.com/read/476392/6759447
m dfpek.m
% State variable representation of the multimachine system
% during fault. (for use with trstab)
% Copyright (c) 1998 by H. Saadat
function xdot = dfpek(t,x)
global Pm f H E Y th ngg
Pe=zeros(
www.eeworm.com/read/476392/6759468
m afpek.m
% State variable representation of the multimachine system
% after fault. (for use with trstab)
%
% Copyright (C) 1998 H. Saadat
function xdot = afpek(t,x)
global Pm f H E Y th ngg
Pe=zeros
www.eeworm.com/read/476392/6759519
m cctime.m
% This function Simulates the swing equation of a one-machine system
% and returns the critical clearing time for stability.
%
% Copyrigth (C) 1998 H. Saadat
%
function cctime(Pm, E, V, X1, X2,