photo

Pengfei


KTH

Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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

nästan 12 år ago | 2 answers | 0

2

answers

Question


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

nästan 12 år ago | 0 answers | 0

0

answers

Question


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

nästan 12 år ago | 1 answer | 0

1

answer

Question


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

nästan 12 år ago | 1 answer | 0

1

answer

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

nästan 12 år ago | 0

Question


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

nästan 12 år ago | 1 answer | 0

1

answer

Question


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

ungefär 12 år ago | 0 answers | 0

0

answers

Question


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

mer än 12 år ago | 1 answer | 0

1

answer

Question


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

mer än 12 år ago | 1 answer | 0

1

answer

Answered
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'); ...

mer än 12 år ago | 1

| accepted

Question


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

mer än 12 år ago | 3 answers | 0

3

answers

Question


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

mer än 12 år ago | 1 answer | 0

1

answer