# Kevin Moerman

Followers: 0 Following: 0

Lecturer Mechanical Engineering http://orcid.org/0000-0003-3768-4269 https://fosstodon.org/@kevinmoerman

**Programming Languages:**

Python, MATLAB

**Spoken Languages:**

English

**Pronouns:**

He/him

**Statistics**

RANK**1.341**

of 295.177

REPUTATION**51**

CONTRIBUTIONS

**5** Questions

**22** Answers

ANSWER ACCEPTANCE **
60.0%
**

VOTES RECEIVED**16**

RANK**1.074** of 20.184

REPUTATION**1.735**

AVERAGE RATING**4.80**

CONTRIBUTIONS**9** Files

DOWNLOADS **48**

ALL TIME DOWNLOADS**14540**

RANK

of 153.314

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Matlab 2021b crashed when running with sudo / root

I have this in version R2022a and Ubuntu 20.04. Any solutions yet? @Sivani Pentapati

meer dan 2 jaar ago | 0

Patch moving with keyboard

Check this function out: http://www.mathworks.com/matlabcentral/fileexchange/50663-view-contol-widget

meer dan 8 jaar ago | 0

Visualizing 1D data with Color.

There are many different ways of doing this. It depends on how you want to visualize the data. E.g. as bars, as dots, as a 1xn s...

meer dan 8 jaar ago | 1

| accepted

I want to change the background value of figure to white.

Perhaps this answers your question. Find where the figure is created in the code and replace by something like: hf = figure...

meer dan 8 jaar ago | 1

Question

Test step sizes and parameter scaling for LSQNONLIN (and the Levenberg Marquardt algorithm)

I have a multi-parameter and multi-objective optimisation problem for which I am trying to use LSQNONLIN. 1) On its initial ...

bijna 10 jaar ago | 1 answer | 0

### 1

answerQuestion

How to speed up the creation of large fields in XML files?

I'm trying to create XML files that contain large fields e.g. of the form: <Geometry> <Nodes> <node id="1">-1.0,-0.5,...

meer dan 10 jaar ago | 1 answer | 0

### 1

answerHello there.. I want to detect a blurred frame in a video sequence.. can anybody help me out

A blurred image is equivalent to an image that is convolved with for instance a Gaussian kernel. This means that low frequencies...

meer dan 10 jaar ago | 1

Question

How to create OR where is, the file "funclist.html" when creating custom documentation?

I am creating a toolbox and have recently successfully used the info <http://www.mathworks.nl/help/matlab/matlab_prog/display-cu...

meer dan 10 jaar ago | 0 answers | 0

### 0

answersCreating a 3D radiation pattern

Perhaps rephrase your question and clearly say what it is you want to visualise. I think the visualisation problem is probably i...

ongeveer 12 jaar ago | 0

edge & non-edge pixels

If img is a logic say where ones define edge pixels and zeros define non-edge pixels then you are correct nnz(img): coun...

ongeveer 12 jaar ago | 1

| accepted

Levels in an image

Not sure if I understand your question correctly but in some image formats the image data has a fixed amount of possible intensi...

ongeveer 12 jaar ago | 0

Matlab to CAD Program

A simple way of doing it would be to first create a triangulated representation of your surface (e.g. based on Delaunay tessella...

ongeveer 12 jaar ago | 0

| accepted

surface disappears when zdata is set to 0

This example is probably equivalent to what you want: [X,Y,Z]=peaks(25); figure; surf(X,Y,zeros(size(Z)),Z) ; view(3); axis...

ongeveer 12 jaar ago | 0

Repeat element of a vector n times without loop.

There is several others ways of doing it which in some cases are more efficient. Have a look at what the size of your vector is ...

ongeveer 12 jaar ago | 2

Question

For LSQNONLIN is it okay if the number of elements in the vector-valued function varies per iteration?

For LSQNONLIN is it okay if the number of elements in the vector-valued function varies per iteration? I have a vector-valued...

meer dan 12 jaar ago | 1 answer | 1

### 1

answerextract 3D surface from 3D volume data

Could you rephrase/clarify your question? It sounds like you have 3D image data and that you are only interested in a certain su...

meer dan 12 jaar ago | 0

Question

Multiple outputs from FMINSEARCH function

For FMINSEARCH in combination with a function MYFUN one could use: [X,fval,exitflag,output]= fminsearch(@(X) myfun(X),X,opt...

bijna 13 jaar ago | 4 answers | 2

### 4

answersHow to rotate a line?

Correct, and instead of E(3) just use a_rad straight away. Also if you find this too complex you could use POL2CART instead (mak...

bijna 13 jaar ago | 4

Iso-Surface

Now properly formatted. function G=tesgroup(F) % function G=tesgroup(F) % -------------------------------------------...

bijna 13 jaar ago | 0

Iso-Surface

Use this function and have a look at the example to group the patch objects defined by the faces and vertices. I will also post ...

bijna 13 jaar ago | 0

Mesh generation for an arbitrary 3D closed surface

I’m not aware of a specific command for this. By mesh and grid do you mean just a mesh of evenly spaced points (e.g. as produced...

bijna 13 jaar ago | 0

How to rotate a line?

This should answer your question. This code does what you want and shows you what happens depending on your choice of centre poi...

bijna 13 jaar ago | 2

| accepted

Delete number in two matrices with same indices/position

If A and B are the save size then instead of the "find" function (which produces linear or subscript indices) use logic indexing...

bijna 13 jaar ago | 0

Finding center of a line

If your edge/line is the only segmented object (only the line consists of ones) in your image then if M is your binary image (co...

bijna 13 jaar ago | 0

| accepted

how to set nan to areas outsid a polygon on the image

Then its more complicated. When you say vertices and faces do you mean a tesselation? e.g. a Delaunay tesselation? Of the head v...

bijna 13 jaar ago | 1

Finding center of a line

If its a straight line then you could simply take the mean of your line coordinates (or even centre of gravity of the image obje...

bijna 13 jaar ago | 0

how to set nan to areas outsid a polygon on the image

If its a 2D image you can use the inpolygon command. Your polygon (which needs to form the boundary of your patch data) is d...

bijna 13 jaar ago | 0