代码搜索结果
找到约 18,795 项符合
X 的代码
zxec1.m
x=0:0.1:1;
y=[-0.447 1.978 3.28 6.16 7.08 7.34 7.66 9.56 9.48 9.30 11.2];
R=[(x.^2)' x' ones(11,1)];
A=R\y'
cn.m
x=[1 2 4 7 9 12 13 15 17];
f=[1.5 3.9 6 11.7 12.6 18.8 20.3 20.6 21.1];
axis([0 18 1 22])
xlabel('x')
ylabel('f')
y=1:0.1:17;
figure(1)
plot(x,f,'o')
gtext('已知数据点')
hold on;pause
bb1=inte
wliti2.m
[x,fval]=fminbnd('fun0',0,1.5);
xmax=x
fmax=-fval
wliti31.m
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3);
z=100*(y-x.^2).^2+(1-x).^2;
mesh(x,y,z)
wliti42.m
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3);
z=100*(y-x.^2).^2+(1-x).^2;
contour(x,y,z,20)
hold on
plot(-1.2,2,' o ');
text(-1.2,2,'start point')
plot(1,1,'o')
text
armelf.x
/* Default linker script, for normal executables */
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
"elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
/* Do we need any of these for elf?
__D
armelf_linux.x
/* Default linker script, for normal executables */
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
"elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR(
sanci2.m
%x=-1:0.01:1;
%y1=5000./(1+25.*x.^2).^3.*x.^2-50./(1+25.*x.^2).^2;
function sm=sanci2(x,y,x1)
y1=0;
y11=0;
n=length(x);
h(1)=x(2)-x(1);
for i=2:n-1
h(i)=x(i+1)-x(i);
lm(i)=h(i)/(h(i-1
sanci.m
x=-1:0.01:1;
y1=-50./(1+25.*x.^2).^2.*x;
n=length(x);
h(1)=x(2)-x(1);
for i=2:n-1
h(i)=x(i+1)-x(i);
lm(i)=h(i)/(h(i-1)+h(i));
mu(i)=1-lm(i);
c1(i)=3*(lm(i)*(fg(x(i))-fg(x(i-1))
nihe.m
x=1:8;
y=[15.3,20.5,27.4,36.6,49.1,65.6,87.8,117.6];
y1=log(y);
n=1;%表示用一次函数拟和
m=length(x);
A=zeros(m,n+1);
for i=1:2
A(:,i)=x.^(i-1)';
end
B=A'*A;
C=A'*y1';
re=B\C;
a=exp(re(1));
b=r