Community Profile

# Hung Dao

Last seen: 7 months ago Active since 2021

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

7 months ago | 2 answers | 0

### 2

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

8 months ago | 1 answer | 0

### 1

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

12 months ago | 2 answers | 0

### 2

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

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

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

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

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

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