Community Profile

# Geert

### Antwerp University (Belgium)

Active since 2012

All

#### Content Feed

View by

problem with simple "flip" function
I've just checked, the |flip| function has become available from version R2013b, it does not exist in R2013a. You can use |fl...

7 years ago | 3

Question

Dear all, I want to create a raspberry pi controlled rotational stage using simulink. The rotational stage should rotate ...

7 years ago | 0 answers | 0

### 0

I have a question about plot. Plesase help me.
% define your constant: a = 5; % define y limits ymin = -10; ymax = 10; % define x and y values...

8 years ago | 1

Question

Create a mask of irregular pore-like shapes
I would love to have *an automatic way of creating random masks consisting of irregular shapes* which resemble pores in some kin...

8 years ago | 1 answer | 0

### 1

How to get columns with means that are greater than one, without using loops?
Hi Gal, you can find an example in the following code: % generate random matrix randomMatrix = 1+randn(10,10); ...

9 years ago | 0

How to remove Nans from matrix
If it are exactly 3 NaN's per row, you could do something like this: M = [1 3 6 nan nan nan 4 5 4 1 3 4 1 2 2; 6 3 ...

9 years ago | 0

matrix problem not getting desired result.
Please try to format you question properly next time. You want to know how many non-zero entries there are in each column I g...

9 years ago | 1

| accepted

Which algorithm eig () function use ?
Good question. I always thought the default eigenvalue algorithm was the QR algorithm ( <http://people.inf.ethz.ch/arbenz/ewp...

9 years ago | 0

summation of binary images
If you would have 5 binary images stored in the variables |Im1|, |Im2|, |Im3|, |Im4| and |Im5|, than you can get the summation b...

9 years ago | 1

how to concatenate two fields in a struct ?
Sandy, it is still very unclear what you exactly want. In what format do you want your output data? Do you want something ...

9 years ago | 0

| accepted

how to concatenate two fields in a struct ?
Can you be more specific? Do you want to convert the (double) data in maindata to a string, and concatenate it to the strings...

9 years ago | 0

Real valued function for positive x,y returning complex values?
Rob, I think the problem is that on the last line of your code, i.e., ff=10*xx^0.5-3*yy^1.2 +2*yy; you're taking the ...

9 years ago | 0

| accepted

RGB colors in scatter3
Have a look at the example in the help: [x,y,z] = sphere(16); X = [x(:)*.5 x(:)*.75 x(:)]; Y = [...

9 years ago | 0

| accepted

changing values of pixels in an image pixel by pixel ( Thresholding )
First of all, it is not necessary to loop over all pixels individually. You can simply use operations on your image matrix, whic...

9 years ago | 3

| accepted

Did you make sure that your current Matlab path is the same as the folder where _'Test.xlsx'_ is stored? A save way of preven...

9 years ago | 0

Leave the whole for-loop
Why can't you use break? The break command can perfectly be used in combination with if statements. Break will execute the inner...

9 years ago | 0

| accepted

How to run the same script but for different datafiles consecutively
@ Azzi: It is indeed not recommended to create severable variables by the eval([ 'JPD',num2str(ii),' = JPD;']) comma...

9 years ago | 0

| accepted

How to run the same script but for different datafiles consecutively
The following code will save your JPD variable for LagrangeMultiplier1.xlsx as JPD1 in the workspace, the JPD variable for Lagra...

9 years ago | 0

Submitted

save 3D matrix as gif
Function that saves a 3D matrix in a gif image file.

Question

How to convert binary image to 2D triangulation?
Does anybody know *a fast and accurate implementation for converting a binary image into a 2D triangulation*? As an example cons...

9 years ago | 3 answers | 0

### 3

Problem with Genetic Algorithm using the global optimization toolbox
Can you give some more details about your genetic algorithm? How many variables, crossover/mutation operator, ... Maybe a code s...

9 years ago | 0

Question

How to convert 2D triangulation to binary image?
Does anyone know of an easy way to convert a 2D triangulation to a binary image, which represents the inside? Let my clarify ...

9 years ago | 1 answer | 0