代码搜索结果

找到约 12,326 项符合 M 的代码

road3.m

a=[0 3 inf inf inf inf inf;3 0 2 inf 18 2.5 inf;... inf 2 0 6 2 inf inf;inf inf 6 0 3 inf inf;... inf 18 2 3 0 4 inf;inf 2.5 inf inf 4 0 1.5;... inf inf inf inf inf 1.5 0]; [D,R]

floyd.m

function[D,R]=floyd(a) n=size(a,1); D=a for i=1:n for j=1:n R(i,j)=j; end end R for k=1:n for i=1:n for j=1:n if D(i,k)+D(k,j)

road1.m

w=[0 2 1 8 inf inf inf inf;2 0 inf 6 1 inf inf inf;1 inf 0 7 inf inf 9 inf;... 8 6 7 0 5 1 2 inf;inf 1 inf 5 0 3 inf 9;inf inf inf 1 3 0 4 6;... inf inf 9 2 inf 4 0 3;inf inf inf inf 9 6

road2.m

a=[0 9 inf 3 inf;9 0 2 inf 7;inf 2 0 2 4;3 inf 2 0 inf;inf 7 4 inf 0]; [D,R]=floyd(a)

wbsignal.m

%wbsignal.m Generates wide band random sequence.Represents one info bit len_code = 128; %length of random sequence code = 2*round(rand(1,len_code))-1; %generates random sequence {1,-1} sa

sin1500.m

%sin1500.m Generates 128 points representing sin(1500) Hz %Creates file sin1500.h for i=1:128 sine(i) = round(1000*sin(2*pi*(i-1)*1500/8000)); %sin(1500) end fid = fopen('sin1500.h','w');

adaptnoise.m

%Adaptnoise.M Generates: dplusn.h (s312+s1500), refnoise.h cos(312),and sin1500.h for i=1:128 desired(i) = round(100*sin(2*pi*(i-1)*1500/8000)); %sin(1500) addnoise(i) = round(100*sin(2*pi*(

designsteps.m

%% designsteps.m Software Linear PLL MATLAB design and simulation program %% Upendra Ummethala and Mike Mellor %% December 19, 2000 EE539 Real Time DSP Final Project %%%%%%%%%%%%%%%%%%%%%%%%%%%

znpidtuning.m

function [k,ku,pu]=znpidtuning(g,ctype) % ZNPIDTUNING Ziegler-Nichols PID tuning tool % [k,ku,pu] = znpidtuning(g,type) returns a pid controller based the famous % Ziegler-Nichols tuning rule. %

learningpid.m

%% Learning PID Tuning II: Stability Margin % The PID controller is the most widely used controller in various % engineering systems. However, appropriately tuning a PID controller is % not an easy