Community Profile

photo

Jeon


9 total contributions since 2013

none

Contact

Jeon's Badges

  • Thankful Level 2

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

answer

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

answer

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

answers

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

answer

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

answer

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

answers

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

answer

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

7

answers

Question


Vector addition with 2-dim array
A is an R by C (R x C) array and I have a rows vector V with length C. I want to add or subtract V from every rows in the array...

7 years ago | 2 answers | 0

2

answers