統計
All
Feeds
回答済み
Split matrix across the median
a = rand(5,10); b = repmat(median(a,1),10); c1 = a; c1(a<b) = NaN; c2 = a; c2(a>=b) = NaN; .... what you're lookin...
Split matrix across the median
a = rand(5,10); b = repmat(median(a,1),10); c1 = a; c1(a<b) = NaN; c2 = a; c2(a>=b) = NaN; .... what you're lookin...
約13年 前 | 0
回答済み
Loading multiple files into the same database
In semi-pseudo code below My_array = []; % container for all file contents for i = 1:size(Name_File_Array) fid = fope...
Loading multiple files into the same database
In semi-pseudo code below My_array = []; % container for all file contents for i = 1:size(Name_File_Array) fid = fope...
約13年 前 | 0
回答済み
Convert an acceleration time graph, into a velocity time graph.
I'm not sure its a matlab issue as such but you'd need to know the starting velocity at least. If we assume its zero, then I thi...
Convert an acceleration time graph, into a velocity time graph.
I'm not sure its a matlab issue as such but you'd need to know the starting velocity at least. If we assume its zero, then I thi...
約13年 前 | 0
| 採用済み
回答済み
Loading multiple files into the same database
Hi Bob Can you read the contents of all files into matlab in loop, vertically concatenating the cellarrays and perform a sing...
Loading multiple files into the same database
Hi Bob Can you read the contents of all files into matlab in loop, vertically concatenating the cellarrays and perform a sing...
約13年 前 | 0
回答済み
from cell array to numeric vector
MWDIData_pop(1,1:5) = {[3752373],[3876616],[4006236],[4140773],[4279524]}; % square brackets in a cellarray indicates that t...
from cell array to numeric vector
MWDIData_pop(1,1:5) = {[3752373],[3876616],[4006236],[4140773],[4279524]}; % square brackets in a cellarray indicates that t...
約13年 前 | 2
| 採用済み
回答済み
from cell array to numeric vector
yearCellArray = {'2008';'2009';'2010'}; yearVector = cellfun(@str2double,yearCellArray);
from cell array to numeric vector
yearCellArray = {'2008';'2009';'2010'}; yearVector = cellfun(@str2double,yearCellArray);
約13年 前 | 1
回答済み
How to vectorize a find
a temporary vector of row numbers, then use your vector-of-interest & a logicsl statement to index this row-number vector ...
How to vectorize a find
a temporary vector of row numbers, then use your vector-of-interest & a logicsl statement to index this row-number vector ...
約13年 前 | 0
回答済み
How can we achieve interfacing of two GUI's?
if you just put the name of gui2 inside the callback of the pushbutton of gui1, then gui2 does not open? gui1_mybutton_...
How can we achieve interfacing of two GUI's?
if you just put the name of gui2 inside the callback of the pushbutton of gui1, then gui2 does not open? gui1_mybutton_...
約13年 前 | 0
回答済み
How to store matrix values in a vector?
Hi Peter Finding it a little difficult to totally grasp what you want to do e.g. m is a 3d matrix & not a 2d one, right? M...
How to store matrix values in a vector?
Hi Peter Finding it a little difficult to totally grasp what you want to do e.g. m is a 3d matrix & not a 2d one, right? M...
約13年 前 | 0
| 採用済み
回答済み
memory leak using activex to save multiple excel files
are you not closing the workbooks?
memory leak using activex to save multiple excel files
are you not closing the workbooks?
約13年 前 | 0
回答済み
remove numbers from a name
welcome to the frustrating world of regular expressions!! regexp(name,'[a-z]\w+','match') all the best, Mark
remove numbers from a name
welcome to the frustrating world of regular expressions!! regexp(name,'[a-z]\w+','match') all the best, Mark
13年以上 前 | 2
回答済み
Vectorize double loops with constraints on the indexes
Hi Anne-Claire I can make some progress in the vectorization here (code below) but there are a few issues. 1) The r=max(k-...
Vectorize double loops with constraints on the indexes
Hi Anne-Claire I can make some progress in the vectorization here (code below) but there are a few issues. 1) The r=max(k-...
13年以上 前 | 0
回答済み
How to overcome the error message in the script below -Matrix dimension error - due to different size array manipulation
Hi Jan The error I get is ??? Index exceeds matrix dimensions. Since PT_mj is a [3*4] matrix and we are trying to...
How to overcome the error message in the script below -Matrix dimension error - due to different size array manipulation
Hi Jan The error I get is ??? Index exceeds matrix dimensions. Since PT_mj is a [3*4] matrix and we are trying to...
13年以上 前 | 0




