Feeds
提问
how to quickly decompressed a matrix
I have compressed matrix a, first row is index and second row is value, how can i convert it to full matrix b of 2x10 elements b...
7 years 前 | 1 个回答 | 0
1
个回答提问
Matlab compiler with CPLEX API
Is it possible to 'bundle' CPLEX optimization API into MATLAB application and deploy the application to a machine without Matlab...
8 years 前 | 1 个回答 | 1
1
个回答提问
sprintf with leading minus sign
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 >...
9 years 前 | 3 个回答 | 0
3
个回答提问
ismember for string matrix
I have two string matrices; A=['c1' 'c ' 'b ' 'd9']'; %UNIQUELIST B=['d9' 'c1']'; %ORIGINALLIST I would lik...
9 years 前 | 2 个回答 | 0
2
个回答提问
string comparison strcmp did not seem to work
I have two identical string matrices (see attached MAT file) but dont know why strcmp below returns 0 while I was expecting one:...
10 years 前 | 1 个回答 | 1
1
个回答提问
count a vector with continuous non zero elements
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...
10 years 前 | 2 个回答 | 0
2
个回答提问
how to compile code into executable and library separately
I have a program with one "Main function" file and a series of "Other files" functions being called from the main function file ...
11 years 前 | 0 个回答 | 0
0
个回答提问
RUN POWERSHELL SCRIPTS PS1
Anyone knows how to execute the powershell scripts in MATLAB? Thanks Sam
11 years 前 | 1 个回答 | 0
1
个回答提问
open file, read a line then, rewind a line
after fgetl(fid), the file position indicatior will be moved to the next line in the file, how could I rewind the indicator back...
11 years 前 | 1 个回答 | 1
1
个回答提问
search for string array index
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';] ...
12 years 前 | 1 个回答 | 0
1
个回答提问
vectorize a for loop
I am finding a optimal way of vectorizing the following piece of code (of course the real data is much greater than this): ...
12 years 前 | 6 个回答 | 2
6
个回答提问
can not load mat file correctly
How to make the function load_dataset below return x value of 2 ? Thanks S >>clear all; >>x=2;y=4; >>save('test...
12 years 前 | 2 个回答 | 0
2
个回答提问
disable "Excel COM server"
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...
12 years 前 | 1 个回答 | 0
1
个回答提问
XLSREAD and XLSWRITE error
I launch a matlab-compiled application through windows hpc scheduler which eventually performs some xlsread and xlswrite functio...
12 years 前 | 0 个回答 | 0
0
个回答提问
Optimize the FOR loop
I am learning to optimize the following nested FOR loop, any comments are appreciated, x=[537 558 583 606 631 655 666 700...
12 years 前 | 2 个回答 | 0
2
个回答提问
recreate vector
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 ...
12 years 前 | 1 个回答 | 0