Community Profile

photo

Pengfei


KTH

Attivo dal 2012

Statistiche

  • Thankful Level 1

Visualizza badge

Content Feed

Visto da

Domanda


patch object exceed axes when zoomed
Hi, I found the same question on this forum, but no answer for that. So I'm reposting this, hopefully somebody can help! I'v...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


Fill polygon with NaN data
Hi, I have data matrix with NaN, and I want to fill the polygon colored. It seemed Matlab cannot close the polygon automatically...

oltre 11 anni fa | 0 risposte | 0

0

risposte

Domanda


Passing javaArray to java method, error: No method 'getArray' with matching signature found for class
On Matlab Part: Test = Test_abc; % Refer to Class Test_abc data = javaArray('java.lang.Float',2,3); for i=1:2 ...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


Save part of a big matrix to *.mat of another name
Hi, Now I have a 3D matrix: abc = rand(2,3,3); I want to save only the second layer of the matrix abc(2,:,:) to the workspa...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Risposto
Passing matlab matrix, of double type, size 160*170, to Java method
Somebody help me! Please-----!

oltre 11 anni fa | 0

Domanda


Passing matlab matrix, of double type, size 160*170, to Java method
Hi, I want Matlab and Java to talk to each other, by passing a Matlab matrix to a Java method. The Java method definition is...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


Spline interpolation with one endslope constrained, the other endslope free?
Hi, I'm using cubic spline interpolation in matlab, and find that either it free the slopes of two end points, or constrain the ...

oltre 11 anni fa | 0 risposte | 0

0

risposte

Domanda


Genetic Algorithm takes sooooo long time, number of function evaluation huge
Hi, I'm using genetic algorithm to do a small black box solver based optimization, with nonlinear inequality constraints, upper ...

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Display constraint gradient from fmincon
Hi all, I am doing nonlinear optimization using "fmincon". There are both nonlinear objective function and nonlinear constraint...

quasi 12 anni fa | 1 risposta | 0

1

risposta

Risposto
How to make a small change to a big text file efficiently
Hi, this following code works fine, which strangely didn't take that long time as first try. fin = fopen('inp.txt','r'); ...

quasi 12 anni fa | 1

| accettato

Domanda


How to make a small change to a big text file efficiently
Hi, I have a big normal text file, 5000 lines, where different forms of content exist, data or strings or symbols. And I want to...

quasi 12 anni fa | 3 risposte | 0

3

risposte

Domanda


How to read a certain part of data from a very complicated text file containing many empty lines
Hi, the text file includes several data structures, delimited by empty lines, like the following: ----------------------------...

circa 12 anni fa | 1 risposta | 0

1

risposta