由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - 怎么解这个方程组阿
相关主题
一个matrix问题[合集] ill conditioning
提问:matlab效率问题(不同机器上)一个简单的矩阵函数问题 (转载)
[转载] ATLAS关于poisson方程的,特征向量
Singular Value Decomposition问个并行算程序的问题?
请教Singular Value Decomposition[合集] 分子动力学程序,有人自己编吗?我快疯了。。。
[转载] 提个线性代数的问题,肯请热心人指教请推荐一个处理sparse matrix SVD的java library
请问怎样让一m长的向量和一mxn的矩阵相乘,仍为mxn精华区的GSL免费已经不免了
请教一个fortran 90编程的问题在matlab中如果快速地求矩阵的逆
相关话题的讨论汇总
话题: kx话题: 方程组话题: matlab话题: svd话题: ab
进入Computation版参与讨论
1 (共1页)
C*********g
发帖数: 3728
1
ab=constant1
bc=constant2
cd=constant3
de=constant4
ef=constant5
ac=constant6
be=constant7
.
.
.
a,b,c,d,e,f,g,h...are variables within range of 0 to 1,size of this function
array is huge.
有没有办法化成某一种最小二乘法?最好是matlab或者IDL
多谢。
sc
发帖数: 122
2
log一下不就变得很简单了?

【在 C*********g 的大作中提到】
: ab=constant1
: bc=constant2
: cd=constant3
: de=constant4
: ef=constant5
: ac=constant6
: be=constant7
: .
: .
: .

C*********g
发帖数: 3728
3
天才阿!
但是怎么加上变量都在0-1区间的约束呢?
多谢!

【在 sc 的大作中提到】
: log一下不就变得很简单了?
r****y
发帖数: 1437
4

ab = const1
bc = const2
ac = const6

overconstrained set of equations?

【在 C*********g 的大作中提到】
: 天才阿!
: 但是怎么加上变量都在0-1区间的约束呢?
: 多谢!

r****y
发帖数: 1437
5

maybe this works
let a priori covariance matrix as
Sa = diag{0.25, 0.25, ...}
first guess [0.5, 0.5, ...]
minimize
(y-Kx)'(y-Kx) + x'Sax

【在 C*********g 的大作中提到】
: 天才阿!
: 但是怎么加上变量都在0-1区间的约束呢?
: 多谢!

r****y
发帖数: 1437
6

or set the cost function as
(y-Kx)'(y-Kx) + L(x)
L(x) is infinite (in code, a very very large number) if any x>1 or <0
is 0 of 0
【在 r****y 的大作中提到】
:
: maybe this works
: let a priori covariance matrix as
: Sa = diag{0.25, 0.25, ...}
: first guess [0.5, 0.5, ...]
: minimize
: (y-Kx)'(y-Kx) + x'Sax

c*******e
发帖数: 8624
7
do an svd decomposition
in matlab, let x = pinv(A)*b

【在 r****y 的大作中提到】
:
: or set the cost function as
: (y-Kx)'(y-Kx) + L(x)
: L(x) is infinite (in code, a very very large number) if any x>1 or <0
: is 0 of 0
c*******e
发帖数: 8624
8
not sure about the 0 to 1 thing, hehe

do an svd decomposition
in matlab, let x = pinv(A)*b

【在 c*******e 的大作中提到】
: do an svd decomposition
: in matlab, let x = pinv(A)*b

sc
发帖数: 122
9
不知道。
这个方程组也不知道是over constrain还是under constrain呢
线性代数方程组在这两个情况下都可以google出来吧?
我没goo过,不知道啊..

【在 C*********g 的大作中提到】
: 天才阿!
: 但是怎么加上变量都在0-1区间的约束呢?
: 多谢!

c*******e
发帖数: 8624
10
in the least square sense.

【在 sc 的大作中提到】
: 不知道。
: 这个方程组也不知道是over constrain还是under constrain呢
: 线性代数方程组在这两个情况下都可以google出来吧?
: 我没goo过,不知道啊..

C*********g
发帖数: 3728
11
对不起,这段没有明白,你是给出的加边界条件的方法吗?多谢了

【在 r****y 的大作中提到】
:
: or set the cost function as
: (y-Kx)'(y-Kx) + L(x)
: L(x) is infinite (in code, a very very large number) if any x>1 or <0
: is 0 of 0
C*********g
发帖数: 3728
12
是啊,我看到sc的log一下子觉得就有救了,matlab里面svd那么快,咔咔

【在 c*******e 的大作中提到】
: do an svd decomposition
: in matlab, let x = pinv(A)*b

1 (共1页)
进入Computation版参与讨论
相关主题
在matlab中如果快速地求矩阵的逆请教Singular Value Decomposition
有没有这种SVD的程序[转载] 提个线性代数的问题,肯请热心人指教
问个计算问题请问怎样让一m长的向量和一mxn的矩阵相乘,仍为mxn
有限元如何并行?请教一个fortran 90编程的问题
一个matrix问题[合集] ill conditioning
提问:matlab效率问题(不同机器上)一个简单的矩阵函数问题 (转载)
[转载] ATLAS关于poisson方程的,特征向量
Singular Value Decomposition问个并行算程序的问题?
相关话题的讨论汇总
话题: kx话题: 方程组话题: matlab话题: svd话题: ab