Community Profile

photo

DS


自 2019 起处于活动状态

统计数据

  • Thankful Level 2
  • Thankful Level 1

查看徽章

Content Feed

排序方式:

提问


I can't find where my mistake is?
A=[1 2 -1; 2 2 -1; 2 5 2]; b=[3; 4; 2]; x=[1; 1; 1]; tol=1e-7; d=diag(A); X=ones(3,1); r=ones(3,1); while norm(r)/norm(X)...

5 years 前 | 1 个回答 | 0

1

个回答

提问


I can't find where the mistake is. Could anyone help me with my code?
Differential equation of simple pendulum d^2θ /dt^2 + (g/L)*sin(θ )=0 Initial conditions: θ(0) = θ0 , θ'(0) = 0 The angular...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How can I delete the repeated values and keep just a row of each one?
I have this matrix [3 11 43; 3 17 41; 3 41 17; 3 43 11; 11 3 43; 11 43 3; 17 3 41; 17 41 3; 41 ...

5 years 前 | 2 个回答 | 0

2

个回答

1

个回答