代码搜索结果

找到约 10,000 项符合 M 的代码

filename2s4m.m

function filename2S4M(filename) % Function extracts directory name and file name from a full filename % and creates/replaces fields S4M.pathname and S4M.filename % If there is no full path the path

m05l1_1.m

%指令仿真 new_system('S05L1'); %新建一个仿真模型 open_system('S05L1'); %打开仿真模型 set_param('S05L1','location',[50,50,400,200]); %添加模块 add_block('simulink3/Sources/Sine Wave','S05L1/SineWave') set_param(

m05_input_value_1.m

input_1=input('Please Enter a constant :');

m_chap3_ex1.m

clear % 求解单元 1 的刚度矩阵 x=sym ('x'); L1=sym ('L1'); % 定义x和L1为符号变量 E=3e11; I=5.2e-7; N=[ 1 - 3 * (x^2) / (L1^2) + 2 * (x^3) / (L1^3), x - 2 * (x^2) / L1 + (x^3) / (L1^2),....

m_chap2_ex2.m

clear t0=0;x0=zeros(6,1);h=0.02; m=1*eye(3,3); k=1*[3 -1 0;-1 2 -1;0 -1 3]; a=[zeros(3,3),eye(3,3);-inv(m)*k,zeros(3,3)]; j=1; t=0:h:50;n=length(t); for i=1:n; l1=m_chap2_ex2_sub

m_chap3_ex2.m

clear % 求解单元 1 的刚度矩阵 x=sym ('x'); L1=sym ('L1'); % 定义x和L1为符号变量 E=3e11; I=5.2e-7; N=[ 1 - 3 * (x^2) / (L1^2) + 2 * (x^3) / (L1^3), x - 2 * (x^2) / L1 + (x^3) / (L1^2),....

m_chap2_ex1.m

t0=0; tN=20; tol=1e-6; y0=[0;0.25]; [t,y]=ode45('m_chap2_ex1_sub',t0,tN,y0,tol); subplot(121), plot(t,y) subplot(122), plot(y(:,1),y(:,2))

m_chap2_ex4.m

global p, t0=0;x0=zeros(6,1);h=0.02; m=(1*1000)*[1 0 0;1 1 0;1 1 1]; k1=980000*[1 -1 0;0 1 -1;0 0 1]; c=1407*[1 -1 0;0 1 -1;0 0 1]; a4=1*1000*[1;1;1];aa4=inv(m)*a4; j=1; t=0:h:7.96;n=length(t

m_chap2_ex3.m

clear m=70; % 蹦极者的体重 k=20; % 绳索的弹性常数 a1=1; a2=1; % 参数 g=10; % 重力角速度 y0=[-30;0]; % 初始条件,-30 为蹦极者的初始位移,0 为初始速度 [t,y]=ode23tb(@m_chap2_ex3_sub,[0:0.01