Feeds
提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
11 years 前 | 4 个回答 | 0
4
个回答提问
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; ...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 2 个回答 | 0
2
个回答提问
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]; ...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 7 个回答 | 3
7
个回答提问
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...
11 years 前 | 2 个回答 | 0