photo

Sam


Aktiv seit 2012

Followers: 0   Following: 0

Nachricht

Statistik

  • First Review
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 8 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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 >...

mehr als 9 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


ismember for string matrix
I have two string matrices; A=['c1' 'c ' 'b ' 'd9']'; %UNIQUELIST B=['d9' 'c1']'; %ORIGINALLIST I would lik...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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:...

fast 10 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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...

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

etwa 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


RUN POWERSHELL SCRIPTS PS1
Anyone knows how to execute the powershell scripts in MATLAB? Thanks Sam

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 11 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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';] ...

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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): ...

fast 12 Jahre vor | 6 Antworten | 2

6

Antworten

Frage


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...

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


XLSREAD and XLSWRITE error
I launch a matlab-compiled application through windows hpc scheduler which eventually performs some xlsread and xlswrite functio...

etwa 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort