Top 10% contributor
I am finding a optimal way of vectorizing the following piece of code (of course the real data is much greater than this):
Asked 2 years ago
2 years ago
I have two identical string matrices (see attached MAT file) but dont know why strcmp below returns 0 while I was expecting one:...
Asked 3 months ago
How can I disable "Excel COM server" in MATLAB ? (I am coding in a machine with MS Excel, but will run the code on non-Excel mac...
I have a compressed vector like this:
a_compressed = [9 3 5]
a_ending_indx = [4 6 9]
Without using FOR loop, what is the ...
I have two string matrices;
A=['c1' 'c ' 'b ' 'd9']'; %UNIQUELIST
B=['d9' 'c1']'; %ORIGINALLIST
I would lik...
Asked 2 months ago
Is there a way to count non-zero elements in vector x below
x=[0 1 1 1 0 0 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 0 1]
so that th...
Asked 9 months ago
How to make the function load_dataset below return x value of 2 ?
I am learning to optimize the following nested FOR loop, any comments are appreciated,
x=[537 558 583 606 631 655 666 700...
Anyone knows how to execute the powershell scripts in MATLAB?
after fgetl(fid), the file position indicatior will be moved to the next line in the file, how could I rewind the indicator back...
I have a very big string array to search but it is in this format:
x=['a b c0 d';
'a b e1 f';
'a x d1 f';]
I have a program with one "Main function" file and a series of "Other files" functions being called from the main function file ...
Asked 1 year ago
I launch a matlab-compiled application through windows hpc scheduler which eventually performs some xlsread and xlswrite functio...
Join the conversation