Community Profile

# Jeon

9 total contributions since 2013

none

View details...

Contributions in
View by

Question

fid value suppressing fprintf
I'd like to make a program to display something when it is in a debug mode. Say, fid = 0 fprintf(fid, 'do not display ...

6 years ago | 1 answer | 0

### 1

Question

Taking a tiny part of a huge matrix still matters to calculaltion time ?
Say I have a matrix 'A' sized 10000 x 1000 But I just use A(1:10, 1:10) for a certain purpose. Of course, it takes shorter...

6 years ago | 1 answer | 0

### 1

Question

Can I see values of variables while a code is running.
MATLAB on my PC is running a code that takes a very long time with a huge iteration. I haven't put any disp, fprintf, etc in ...

6 years ago | 4 answers | 0

### 4

Question

Is Computational time proportional to the matrix size?
Now I'm trying to measure calculation time envolving getting euclidean distance between to vectors. Say: D = A - B; ...

6 years ago | 1 answer | 0

### 1

Question

Shifting elements to the left / top
a = [1 2 3; NaN 4 5; 6 NaN 7; 8 9 NaN; NaN NaN 10; NaN 11 NaN; 12...

7 years ago | 1 answer | 0

### 1

Question

Insert data into the right index
I have two matrices: A = [1 3 5 7 9; NaN NaN NaN NaN NaN]; B = [1 5 9; x y z]; The first ro...

7 years ago | 2 answers | 0

### 2

Question

Remove rows or cols whose elements are all NaN
I have a matrix A: A = [1 2 3 4 NaN; NaN NaN NaN NaN NaN; 1 2 NaN 4 5; 1 NaN 3 4 5]; ...

7 years ago | 1 answer | 0

### 1

Question

Remove rows or cols whose elements are all NaN
How can I remove rows or cols whose elements are all NaN ? Withouot any dirty iterations? For example, A = [1 1 1 1 1 1...

7 years ago | 7 answers | 3