Community Profile

photo

Hung Dao


Last seen: 11 months ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Question about aligning x-axes in subplots on the same row in Matlab
Dear Matlab experts, I have a question about creating a plot consisting of 4 subplots arranged in a 2 by 2 grid. I want to alig...

11 months ago | 2 answers | 0

2

answers

Question


plotting side-by-side error bars and data points
Hello Experts, I would be much grateful if you could help me with the following matter. I would like to create a plot similar t...

1 year ago | 1 answer | 0

1

answer

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...

1 year 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...

2 years 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...

2 years 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...

2 years 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 ...

3 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'. ...

3 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 ...

3 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...

3 years ago | 1 answer | 0

1

answer