matlab中的程序the length n of c is odd,the first (n+1)/2 are the
来源:学生作业帮 编辑:神马作文网作业帮 分类:数学作业 时间:2024/11/23 16:57:11
matlab中的程序
the length n of c is odd,the first (n+1)/2 are the coefs,the last (n-1)/2 are the weights
x=-10:0.01:10;
f=erf(x);
g=zeros(1,length(f));
temp=sum(w);
w=[w 1-temp];
the length n of c is odd,the first (n+1)/2 are the coefs,the last (n-1)/2 are the weights
x=-10:0.01:10;
f=erf(x);
g=zeros(1,length(f));
temp=sum(w);
w=[w 1-temp];
首先erf是一个求高斯分布的积分函数,sum(w)是一个求和的过程,但是w没有给出具体的数值或者函数过程
再问: erf误差函数吧,函数的变量可以为数组吗
再答: 当然可以
再问: f = @(x,c) x(1).^2+c.*x(2).^2;
c = 1.5;
X = fminsearch(@(x) f(x,c),[0.3;1])
X =
1.0e-04 *
-0.2447
0.3159
结果为三个数吗?为什么? x(1),x(2)分别代表什么
再问: erf误差函数吧,函数的变量可以为数组吗
再答: 当然可以
再问: f = @(x,c) x(1).^2+c.*x(2).^2;
c = 1.5;
X = fminsearch(@(x) f(x,c),[0.3;1])
X =
1.0e-04 *
-0.2447
0.3159
结果为三个数吗?为什么? x(1),x(2)分别代表什么
matlab中的程序the length n of c is odd,the first (n+1)/2 are the
the sum of the first n odd integers
The length of each side of a square in metres is an odd numb
Matlab中,运行程序出现The length of X must match the number of rows
英语翻译The sum of the first positive odd integers is 212 more t
What is the length of the pencil
英文数学概率题If three fair dice are thrown,and the sum is an odd n
1The first day of the week is____.2The banana is___and oud n
懂英文和数学的进if the integer n odd,2n is divisible by twice as man
MATLAB调试出现The expression to the left of the equals sign is n
1、"WTO" is an ______ made up from teh first letters of the n
What is the length of this ruler?