107 total contributions since 2012

Submitted

PIV image tool

Alternate two PIV images with velocity vectors, to visually inspect the result of a PIV analysis

24 days ago | 18 downloads |

Submitted

POD-based background removal for Particle Image Velocimetry

The following script is a Matlab implementation of the algorithm described in the paper

1 month ago | 7 downloads |

Answered

Totally crazy behaviour of figures. Axes going around through the image!

I contacted the MathWorks Support and they confirmed me that this is a bug of the R2015a version. They also suggested me a si...

Totally crazy behaviour of figures. Axes going around through the image!

I contacted the MathWorks Support and they confirmed me that this is a bug of the R2015a version. They also suggested me a si...

3 months ago | 0

| accepted

Question

Totally crazy behaviour of figures. Axes going around through the image!

Hello, I'm working on a GUI in matlab and I ended up with a really strange behaviour in my code. I manage to isolate the prob...

3 months ago | 3 Answers | 0

Submitted

ExportPngInkscape(filename,dpi,handle)

Save figures in high quality PNG by saving them in SVG and exporting in PNG using Inkscape

5 months ago | 2 downloads |

Submitted

Plot multiple surfaces multisurf(x,y,z,color)

Plot multiple surfaces in the same figure, with different colors

6 months ago | 2 downloads |

Answered

Hi all! I'm new to matlab. I've a problem in removing a circle object from the xray image. I've tried a few commands, but all of them are not working. help me :(

If the position of the spot is always the same, you can use the excellent function from the file exchange: http://www.mathwor...

Hi all! I'm new to matlab. I've a problem in removing a circle object from the xray image. I've tried a few commands, but all of them are not working. help me :(

If the position of the spot is always the same, you can use the excellent function from the file exchange: http://www.mathwor...

7 months ago | 0

Answered

Hello, i'm trying to search for an area of an image.

I don't know if this solution works for you, but I would use histeq to equalize the image first, then conv2 to convolve the imag...

Hello, i'm trying to search for an area of an image.

I don't know if this solution works for you, but I would use histeq to equalize the image first, then conv2 to convolve the imag...

7 months ago | 0

| accepted

Answered

How to display the Rectangles from different frames in one frame?

If you know the coordinates of your rectangles, you can simply extract each box from your image by using standard indexing: ...

How to display the Rectangles from different frames in one frame?

If you know the coordinates of your rectangles, you can simply extract each box from your image by using standard indexing: ...

7 months ago | 0

Answered

How to calculate repetition of an unknown number present in 2nd column of a 150*2 matrix?

You can use the function hist (or histc) on the second column of your matrix.

How to calculate repetition of an unknown number present in 2nd column of a 150*2 matrix?

You can use the function hist (or histc) on the second column of your matrix.

7 months ago | 0

Answered

How to detect an absent object from a mask image and remove it on the original image?

I don't know what are your general conditions and I assume your images are always slightly different from each other and every b...

How to detect an absent object from a mask image and remove it on the original image?

I don't know what are your general conditions and I assume your images are always slightly different from each other and every b...

7 months ago | 0

Answered

How do I remove the background from this binary image?

If you found your mask for your object, you can simply remove the background by using: image % your image mask % your ...

How do I remove the background from this binary image?

If you found your mask for your object, you can simply remove the background by using: image % your image mask % your ...

7 months ago | 0

| accepted

Answered

how to get horizontal projection of histogram of an binary image ?and based on that how to segment of each line in the image? please suggest me

Given your image _im_, you can binarize it with im2bw: bw = 1-im2bw(image); The horizontal histogram (I guess) is the s...

how to get horizontal projection of histogram of an binary image ?and based on that how to segment of each line in the image? please suggest me

Given your image _im_, you can binarize it with im2bw: bw = 1-im2bw(image); The horizontal histogram (I guess) is the s...

7 months ago | 0

| accepted

Answered

Image analysis - line to value data plotting

You can use imread to read the image. If your image is already normalized, you can use find to get the elements of the line. Bei...

Image analysis - line to value data plotting

You can use imread to read the image. If your image is already normalized, you can use find to get the elements of the line. Bei...

7 months ago | 0

| accepted

Answered

How to select x,y a coordinates from two points in image?

You can use the function max, together with ind2sub.

How to select x,y a coordinates from two points in image?

You can use the function max, together with ind2sub.

7 months ago | 0

Answered

i have a number of cars in 2007 per 1000 people which is 290 , how can I make forecast the number at 2014, by simple way in matlab?

years = 2001:2005; cars = 100:100:500; new_year = 2010; interp1(years,cars,new_year,'linear','extrap') As an a...

i have a number of cars in 2007 per 1000 people which is 290 , how can I make forecast the number at 2014, by simple way in matlab?

years = 2001:2005; cars = 100:100:500; new_year = 2010; interp1(years,cars,new_year,'linear','extrap') As an a...

7 months ago | 0

| accepted

Answered

How I can add marker names with plot function?

You can use the function text

How I can add marker names with plot function?

You can use the function text

7 months ago | 0

Answered

Loop animation with quiver plot

Every time that you want to update the figure, you need to call the drawnow function. You won't probably be able to get a framer...

Loop animation with quiver plot

Every time that you want to update the figure, you need to call the drawnow function. You won't probably be able to get a framer...

7 months ago | 0

Answered

how can find matching point in two images?

I would suggest you to use normalized cross-correlation first, to get a rough estimate of the position of your object, and then ...

how can find matching point in two images?

I would suggest you to use normalized cross-correlation first, to get a rough estimate of the position of your object, and then ...

7 months ago | 0

Answered

How to replace RGB values

If I understood it correctly, you may simply use a linear scale. Once you read you image, you have a 3d matrix (row,col,3). The ...

How to replace RGB values

If I understood it correctly, you may simply use a linear scale. Once you read you image, you have a 3d matrix (row,col,3). The ...

7 months ago | 0

Answered

How can I create a row of numbers form 1 to 10 ?. like this [1.0000, 2.0000, 3.0000,...]?

Matlab deals with double variables by default. If you write 1, it is actually 1.00000000 If you just want to display it, you...

How can I create a row of numbers form 1 to 10 ?. like this [1.0000, 2.0000, 3.0000,...]?

Matlab deals with double variables by default. If you write 1, it is actually 1.00000000 If you just want to display it, you...

7 months ago | 1

Answered

Matlab is giving me multiple graphs and i'm only interested in one of them...How do i filter out the unnecessary curves that matlab is giving me?

If you go to view, plot browser, in the figure menu, you can see everything that is plotted and untick what you don't want to se...

Matlab is giving me multiple graphs and i'm only interested in one of them...How do i filter out the unnecessary curves that matlab is giving me?

If you go to view, plot browser, in the figure menu, you can see everything that is plotted and untick what you don't want to se...

7 months ago | 1

Answered

question about contour maps

If you have the torque matrix, you can simply use contour(torque). If you want to fill the space between lines, you can use cont...

question about contour maps

If you have the torque matrix, you can simply use contour(torque). If you want to fill the space between lines, you can use cont...

7 months ago | 0

Answered

to read .xls file

http://uk.mathworks.com/help/matlab/ref/xlsread.html

to read .xls file

http://uk.mathworks.com/help/matlab/ref/xlsread.html

7 months ago | 1

| accepted

Answered

How to solve segmentation violation error when I call a C-MEX function which is compiled correctly?

I suggest you to run a debugger on your C file. I've never done it on GNU/Linux, but it should be possible in the same way as on...

How to solve segmentation violation error when I call a C-MEX function which is compiled correctly?

I suggest you to run a debugger on your C file. I've never done it on GNU/Linux, but it should be possible in the same way as on...

7 months ago | 0

Answered

Change the folder names from one digit to 2 digit numbers

You can use dir, sscanf, sprintf and movefile. Use dir to get the list of the folders. Use scanf to get the number of the ...

Change the folder names from one digit to 2 digit numbers

You can use dir, sscanf, sprintf and movefile. Use dir to get the list of the folders. Use scanf to get the number of the ...

7 months ago | 1

| accepted

Answered

how to integrate a function from 0 to inf?

You can, but it would require... an infinite time :) The answer mostly depends on your function. You could evaluate the funct...

how to integrate a function from 0 to inf?

You can, but it would require... an infinite time :) The answer mostly depends on your function. You could evaluate the funct...

7 months ago | 0

Submitted

quiver_tri(x,y,u,v,varargin)

Quiver plot with filled triangles head

7 months ago | 5 downloads |

Answered

Random number not repeatable with the same seed

The number of threads shouldn't affect your script, because matlab only use it internally. If you don't use a parfor or some too...

Random number not repeatable with the same seed

The number of threads shouldn't affect your script, because matlab only use it internally. If you don't use a parfor or some too...

8 months ago | 0