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 3 years ago
3 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 1 year 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 ...
Is it possible to 'bundle' CPLEX optimization API into MATLAB application and deploy the application to a machine without Matlab...
Asked 1 month ago
I am trying to use SPRINTF to print the following variable's value. How to print it so it does not without the minus sign
Asked 10 months ago
I have two string matrices;
A=['c1' 'c ' 'b ' 'd9']'; %UNIQUELIST
B=['d9' 'c1']'; %ORIGINALLIST
I would lik...
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...
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 2 years ago
I launch a matlab-compiled application through windows hpc scheduler which eventually performs some xlsread and xlswrite functio...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries