photo

Jeon


Last seen: nästan 2 år ago Active since 2013

Followers: 0   Following: 0

Message

none

Statistics

  • Thankful Level 3

View badges

Feeds

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

ungefär 11 år 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...

mer än 11 år 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 ...

mer än 11 år 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; ...

mer än 11 år 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...

mer än 11 år 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...

mer än 11 år 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]; ...

mer än 11 år 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...

mer än 11 år 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...

mer än 11 år ago | 2 answers | 0

2

answers