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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 0 | 0
0
답변질문
RUN POWERSHELL SCRIPTS PS1
Anyone knows how to execute the powershell scripts in MATLAB? Thanks Sam
11년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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';] ...
11년 초과 전 | 답변 수: 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): ...
11년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 1 | 0