代码搜索结果
找到约 10,000 项符合
7 的代码
chap7_7.mdl
Model {
Name "chap7_7"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes
chap7_7.mdl
Model {
Name "chap7_7"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes
ch7_7.cpp
//*********************
//** ch7_7.cpp **
//*********************
#include
int maximum(int[][4],int,int);
void main()
{
int sg[3][4]={{68,77,73,86},
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));
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])
ex7_7.txt
数据修改界面
ex7_7.txt
数据修改界面
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)