代码搜索:Direction
找到约 10,000 项符合「Direction」的源代码
代码结果 10,000
www.eeworm.com/read/484723/6572897
txt 分词算法源代码.txt
// Document.cpp: implementation of the Document class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "frequency.h"
#include "Document.h"
www.eeworm.com/read/484804/6575233
java example7_39.java
import java.awt.*;
import java.awt.event.*;
public class MoveExample
{ public static void main(String args[])
{ new Hua_Rong_Road();
}
}
class Person extends Button
implements Focus
www.eeworm.com/read/484493/6577803
m ex09ch4.m
function sol = ex09ch4
global h1 h2 h3 h4 h5 h6 h7 h8
h1 = 2; h2 = 0.8; h3 = 1e4; h4 = 0.17;
h5 = 0.5; h6 = 300; h7 = 0.12; h8 = 8;
state = +1;
opts = ddeset('Jumps',-1e-6,'Events',@events,...
www.eeworm.com/read/484493/6577811
m ex14ch4.m
function sol = ex14ch4
% The parameter state = +1 if ylag >= -0.427, -1 otherwise.
% With this definition of history, state is initially +1.
state = +1;
opts = ddeset('Events',@events);
sol = dde23(@d
www.eeworm.com/read/484493/6577813
m ex24ch2.m
function ex24ch2
% y(1) = y, y(2) = v, y(3) = phi.
y0 = [0; 0.5; 9.7456];
opts = odeset('Events',@events);
[x,y] = ode45(@odes,[0 10],y0,opts);
plot(x,y(:,1))
title(['Trajectory of cannon ball with \p
www.eeworm.com/read/484493/6577829
m ex32ch2.m
function ex32ch2
% Define the physical constants:
global kappa beta a Cp K ga sinth Phi Ph Af G0
kappa = 0.171446272015689e-8;
beta = 0.213024626664637e-2;
a = 0.108595374561510e+4;
Cp = 0.496
www.eeworm.com/read/484493/6577830
m ex25ch2.m
function ex25ch2
options = odeset('Events',@event,'RelTol',1e-5,'AbsTol',1e-10);
[t,y,te,ye,ie] = ode45(@odes,[0 20*pi],[0; 1],options);
plot(t,y(:,1),te,ye(:,1),'ro')
spacing = diff(te)
%============
www.eeworm.com/read/484493/6577852
m ex26ch2.m
function ex26ch2
options = odeset('Stats', 'on', 'Events', @ex19ach1e);
tspan = [0 2];
yzero = [0 ; 0];
[t,y,te,ye,ie] = ode45(@ex26ch2f, tspan, yzero, options);
exactt = zeros(9,1);
for i = 1 : 9
www.eeworm.com/read/484493/6577858
m ex23ch2.m
function ex23ch2
% x = y(1), x' = v = y(2)
options = odeset('Events',@event);
[t,y,te,ye,ie] = ode45(@odes,[0,100],[0;0],options);
if isempty(ie)
error('Cork did not leave bottle by t = 100.')
end
www.eeworm.com/read/484493/6577862
m ex37bch2.m
function ex37bch2
% Emden problem with luck
global n
options = odeset('Events',@events,'RelTol',1e-8,'AbsTol',1e-10);
n = 3;
xend = 10;
xinit = 0;
yinit = 1;
ypinit = 0;
[x,y,xe,ye,ie] = ode15s(@f