Community Profile

photo

Sam


Attivo dal 2012

Followers: 0   Following: 0

Contatto

Statistiche

  • First Review
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

circa 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 1

1

risposta

Domanda


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

quasi 9 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 9 anni fa | 1 risposta | 1

1

risposta

Domanda


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

quasi 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 1

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 6 risposte | 2

6

risposte

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 12 anni fa | 1 risposta | 0

1

risposta