由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - 解常微分方程组的问题
相关主题
[转载] 非线性常微分方程组,用什莫软件搞点啊请教Stabilized inverse diffusion equation
再来一个解ODE的弱问题两个matrix, 只有一个element有很小的差别,
如何避免常微分方程组出现stiff情况呢?how to compute inverse of a 20000 by 20000 matrix???
求指教:MATLAB的优化工具可以用于常微分方程组吗?calculation of inverse of "almost-singular" matrix
请教:如何用least square approach解超定方程组help on matrix problem
[转载] 大家看这个方程组用什么软件解那位大侠帮帮我!matlab问题
求救: 怎样有效的计算5000x5000的线型方程组?[zz]求:toeplitz matrix inversion Gohberg Semetsul formula
一个求inverse matrix的问题[合集] 打算重奖版面上一些ID
相关话题的讨论汇总
话题: matrix话题: ax话题: parameters话题: 常微分话题: least
进入Computation版参与讨论
1 (共1页)
l***y
发帖数: 174
1
一个常微分方程组,大约有100个左右要estimate的parameters
10,000个equations。equations>>parameters
所以考虑用Least Square Fit求近似解
用什么软件,什么函数可以解决
我对数值计算没有什么经验,新手问题,希望大家不吝赐教,谢谢
c*******a
发帖数: 18
2
I think that can be solved in this way.
let A be your equation matrix
X be your parameters, B is your result vector
so AX = B
Where A is a 10,000x100 matrix, X is a 100x1 matrix
B is a 10,000x1 matrix
we need to solve x, so we multiply A'(A transpose to both side)
we get (A'A)X=A'B
Now A'A becomes a 100x100 square matrix,so we can calculate the inverse
multiply the inverse on both side
we get X=(A'A)^(-1) A'B
That is just a illustration of the method, there should be more
efficient method to ac

【在 l***y 的大作中提到】
: 一个常微分方程组,大约有100个左右要estimate的parameters
: 10,000个equations。equations>>parameters
: 所以考虑用Least Square Fit求近似解
: 用什么软件,什么函数可以解决
: 我对数值计算没有什么经验,新手问题,希望大家不吝赐教,谢谢

p*****e
发帖数: 310
3
这样解不大对吧,这是典型的电力系统最小二乘状态估计,随便搜一下就能找到做法。

【在 c*******a 的大作中提到】
: I think that can be solved in this way.
: let A be your equation matrix
: X be your parameters, B is your result vector
: so AX = B
: Where A is a 10,000x100 matrix, X is a 100x1 matrix
: B is a 10,000x1 matrix
: we need to solve x, so we multiply A'(A transpose to both side)
: we get (A'A)X=A'B
: Now A'A becomes a 100x100 square matrix,so we can calculate the inverse
: multiply the inverse on both side

c*******a
发帖数: 18
4

where is wrong? what is your algorithm then?

【在 p*****e 的大作中提到】
: 这样解不大对吧,这是典型的电力系统最小二乘状态估计,随便搜一下就能找到做法。
p*****e
发帖数: 310
5
一般是求min((Ax-b)R(Ax-b)), R是权重对角矩阵,可以是I,然后对x求导得方程

【在 c*******a 的大作中提到】
:
: where is wrong? what is your algorithm then?

c*******a
发帖数: 18
6
take a look on least_square fit on wikipeida
you will find my method is mentioned under
Least squares and regression analysis
section
http://en.wikipedia.org/wiki/Least_squares
I don't think find a min of a complicated matrix will be easy
when you have so many parameters.
On the other hand, finding the inverse is something can be
either done easily or find some alternative way to solve.
Please show your reference

【在 p*****e 的大作中提到】
: 一般是求min((Ax-b)R(Ax-b)), R是权重对角矩阵,可以是I,然后对x求导得方程
a***n
发帖数: 3633
7
dude, pinacle is right. His argument could be seen in almost any textbook
about operations research or optimal problems. It is more refered as "best
fit problem".
But you are also a genius, you started from a incorrect point, go on a wrong
way and end up the absolutely correct result.
If A is 100000x100, and b=100000x1, generally solution to Ax=b is nothing
more than an empty set. 2nd, by multiply the A', you significantly expanded
the solution set.
However, if we choose R=I as pinacle suggested

【在 c*******a 的大作中提到】
: take a look on least_square fit on wikipeida
: you will find my method is mentioned under
: Least squares and regression analysis
: section
: http://en.wikipedia.org/wiki/Least_squares
: I don't think find a min of a complicated matrix will be easy
: when you have so many parameters.
: On the other hand, finding the inverse is something can be
: either done easily or find some alternative way to solve.
: Please show your reference

1 (共1页)
进入Computation版参与讨论
相关主题
[合集] 打算重奖版面上一些ID请教:如何用least square approach解超定方程组
[合集] 搭一个小型分布式计算服务器组的问题,急![转载] 大家看这个方程组用什么软件解
[合集] 有两个个选择,工作还是出国,值不值得?求救: 怎样有效的计算5000x5000的线型方程组?
有常微分/偏微分经典书籍推荐么?一个求inverse matrix的问题
[转载] 非线性常微分方程组,用什莫软件搞点啊请教Stabilized inverse diffusion equation
再来一个解ODE的弱问题两个matrix, 只有一个element有很小的差别,
如何避免常微分方程组出现stiff情况呢?how to compute inverse of a 20000 by 20000 matrix???
求指教:MATLAB的优化工具可以用于常微分方程组吗?calculation of inverse of "almost-singular" matrix
相关话题的讨论汇总
话题: matrix话题: ax话题: parameters话题: 常微分话题: least