Qiang Li
Followers: 0 Following: 0
Feeds
提问
solving linear system with decomposition(A,'qr') and qr(A) produce different results
load post.mat x1 = decomposition(CA,'qr')\b_f; [qq2,rr2,pp2] = qr(CA); x2= pp2 * (rr2\(qq2'*b_f)); [qq3,rr3,pp3] = qr(CA...
4 months 前 | 1 个回答 | 0
1
个回答已回答
inv(A)*B*inv(A) or A\B/A, which is more accurate for a full rank A and half rank B
The short answer for my application: A\B/A. inv(A)*B*inv(A) introduces inconsistency after iterations.
inv(A)*B*inv(A) or A\B/A, which is more accurate for a full rank A and half rank B
The short answer for my application: A\B/A. inv(A)*B*inv(A) introduces inconsistency after iterations.
5 months 前 | 0
已回答
Intel P +E or AMD for large (2000) Monte Carlo simulations
I went with the intel 14900k. For me it seemed to be the safe bet at that moment. https://blogs.mathworks.com/matlab/2022/07/13...
Intel P +E or AMD for large (2000) Monte Carlo simulations
I went with the intel 14900k. For me it seemed to be the safe bet at that moment. https://blogs.mathworks.com/matlab/2022/07/13...
5 months 前 | 0
| 已接受
提问
inv(A)*B*inv(A) or A\B/A, which is more accurate for a full rank A and half rank B
My matrices are A = [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 24 0 0 0 0 ...
5 months 前 | 3 个回答 | 0
3
个回答提问
matrix inverse results different between r2023b and 2021b
I was solving a high-dimensional nonlinear optimization problem with gradient descent method and found out that R2023b and R2021...
5 months 前 | 1 个回答 | 1
1
个回答提问
Intel P +E or AMD for large (2000) Monte Carlo simulations
I'm about to build a new pc with running large Monte Carlo simulation in mind. I know that matlab doesn't benefit from threading...
6 months 前 | 1 个回答 | 0
1
个回答提问
polynomial multiplication not accurate, using conv() vs symbolic
I'm calculating the square of a polynomial inside a loop. It seems to me that, calculating it using conv() is resulting in large...
6 months 前 | 1 个回答 | 1