代码搜索结果

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

chapter7-7.cpp

//文件名:CHAPTER7-7.cpp #include #include #if _MSC_VER > 1020 // if VC++ version is > 4.2 using namespace std; // std c++ libs implemented in std #endif int main( ) {

plot_7_7.m

% make figure 7.7 Z2=zeros(4,491); load run2 tail=[0 5 8 66]; z=sum(real(E).^2,2); [y ind]=sort(z); newE=E(ind,:); for i=1:4, Z2(i,:)=sum((real(newE(1:400-tail(i),:)).^2))/(400-tail(i));

examp7_7.m

t_final=100; x0=[0;0;1e-10]; [t,x]=ode45('lorenzeq',[0,t_final],x0);plot(t,x), figure; % 打开新图形窗口 plot3(x(:,1),x(:,2),x(:,3)); axis([10 42 -20 20 -20 25]); % 根据实际数值手动设置坐标系 comet3(x(:,1),x(:,2)

chap7_7.mdl

Model { Name "chap7_7" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes

l7_7.cpp

//用普里姆算法求无向网的最小生成树 #include const int n=6; //定义网中顶点数 const int e=10; //定义网中边数 struct edgeset //定义一条生成树的边 { int fromvex; //边的起点 int endvex;

soln7_7.cpp

// Soln7_7.cpp #include // For stream input/output using std::cout; using std::endl; class CStack { public: CStack() : next(0) {} void push(int i);

example7_7.m

%装载并图示原始图像 load gatlin2; subplot(2,2,1); image(X); colormap(map); title('原始图像'); axis square; %============================== %生成含噪图像并图示 init=2055615866; randn('seed',init); X1=X+10*randn(s

ex7_7.m

a=[1,2,-2;1,1,1;2,2,1]; b=[9;7;6]; [x,n]=jacobi(a,b,[0;0;0]) [x,n]=gauseidel(a,b,[0;0;0])

expl7_7.m

% Example 7.7 produces Figure 7.7 Uncertainty Regions % % Copyright 1996-2003 Sigurd Skogestad & Ian Postlethwaite % $Id: Expl7_7.m,v 1.2 2004/04/14 09:37:41 vidaral Exp $ close all; clear all;