Community Profile

photo

Hung Dao


Last seen: 2 months ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


chol() returns error even the matrix is positive definite.
I have a matrix , where is a identity matrix and is a matrix. It is clear that M is a positive definite matrix. However, I a...

2 months ago | 2 answers | 0

2

answers

Question


Plot overlapped points (Matlab 2020a)
Hi, I have a scatter plot (see the picture and code below) comparing the true values with the estimation results from 3 methods...

1 year ago | 3 answers | 0

3

answers

Question


How to duplicate rows of a matrix if the number of copies for each row are different?
Hi all, I want to duplicate each rows of a matrix according to the numbers given in a vector. For example, I have matrix A and...

1 year ago | 3 answers | 0

3

answers

Question


How to get the smallest value in submatrices
Hi, I would appreciate if you could help me with this problem. I have a big matrix , where are submatrices of the same size...

1 year ago | 2 answers | 0

2

answers

Question


How to add each column of matrix A with another matrix B?
Suppose is a column vector and is a matrix, then , a matrix. Now, I have matrix , each is a column vector. I would like ...

2 years ago | 1 answer | 0

1

answer

Question


Save data when an error occurs inside a function.
Hi, I have an algorithm (called algorithm A) that takes hours to run. Algorithm A is written in a script file 'Algorithm_A.m'. ...

2 years ago | 1 answer | 0

1

answer

Question


An efficient way to compute many sums with different number of terms
Suppose I have 2 functions and . Given different values of , define and ...

2 years ago | 1 answer | 0

1

answer

Question


How to efficiently compute a sum of large vectors with elements depend on the sum index?
I have to compute the sum: , where are large column vectors ( dimension is about 10 millions) and is about 100 to 200. My fir...

2 years ago | 1 answer | 0

1

answer