Answered
Possible request, Master's thesis ?
It really depends on what you like and find interesting. I would suggest to start by reading articles on Wikipedia and find a to...

10 years ago | 2

| accepted

Answered
Fit: how to return chi-squared instead of r-squared
The Curve Fitting Toolbox only supports these <http://www.mathworks.com/help/curvefit/evaluating-goodness-of-fit.html goodness-o...

10 years ago | 1

Answered
How to get the pixel color values in one command?
Yes, the color is a vector of three values. To access the color of pixel |(x,y)|, you can write: color = squeeze( Image(x,y...

10 years ago | 1

| accepted

Answered
I have Matlab R2010b. when I type codegen on the command line it says ??? Undefined function or variable 'codegen'. Is codegen avaialable on R2010b. If not what version is it supported on?
Execute <http://www.mathworks.com/help/matlab/ref/ver.html |ver|> in the Command Window to display the list of available product...

10 years ago | 1

| accepted

Answered
How can I use an empty matrix in a logical if statement?
Use the <http://www.mathworks.com/help/matlab/ref/isempty.html |isempty|> function to check if an array is empty: if isempt...

10 years ago | 15

| accepted

Answered
How to fit a Gaussian curve to the profile obtained from "improfile"?
You can fit a mixture of Gaussian models to your profile interactively using the <http://www.mathworks.com/help/curvefit/example...

10 years ago | 1

Answered
Margins around histogram in subplot
You can either <http://www.mathworks.com/help/matlab/ref/get.html |get|> and <http://www.mathworks.com/help/matlab/ref/set.html ...

10 years ago | 1

Answered
i want to extract fluorescent marked text from an image and convert the extracted image to another image file. how do i do that? i am new to matlab.
*1.* Use a color segmentation algorithm to generate a mask where white pixels correspond to the yellow highlights in your input ...

10 years ago | 2

Answered
Can someone tell me how to find the summation of all the pixel values in an image?
Assuming the frames you want to compare are called |img_prev| and |img_next|, both matrices of the same size, the following func...

10 years ago | 1

| accepted

Answered
how to do iris normalization?
To my knowledge there is no MATLAB code available that implements Daugman's Rubber-Sheet algorithm for iris normalization. Howev...

10 years ago | 1

Answered
how to crop a rectangle/square out of a image when four end points are given ?
I wrote a custom function that "draws" lines onto a matrix (superimposeLines.m) and a script that use that function to draw the ...

10 years ago | 1

| accepted

Answered
How to superimpose/overlay a grayscale 3D image onto a color 3D image?
I don't think it is any different for 3D images. If a color 3D image has dimensions |(m x n x p x 3)|, then you could convert a ...

10 years ago | 1

Answered
Generating a basic animation of a 2D figure
Using <http://www.mathworks.com/help/matlab/ref/hold.html |hold on|> will keep all previously drawn objects in your figure. Use ...

10 years ago | 2

Answered
Discretise into Equal Intervals
You can use several methods to interpolate data points from non-uniformly spaced points. There are listed here for one dimension...

10 years ago | 1

| accepted

Answered
How to store values from a loop?
Store them in a vector using an index like in the following: y = 2:0.1:10; % For all elements in vector y for i=1:n...

10 years ago | 3

| accepted

Answered
How do I pull data from a CSV into the GUI?
The following code should work: % Open CSV file fid = fopen('myCSV.txt', 'r'); % Read comma-separated values A...

10 years ago | 1

| accepted

Answered
How to extract only object with white background using bounding box in MatLab?
I think what you are looking for is <http://www.mathworks.com/help/images/ref/activecontour.html |activecontour|>. Active contou...

10 years ago | 1

| accepted

Answered
How we can filter out a specific color from an image?
This operation is called color thresholding and is usually done in HSV space. To my knowledge there is no built-in function in M...

10 years ago | 1

Answered
Back track the index of a matrix
The <http://www.mathworks.com/help/matlab/ref/sort.html |sort|> function can also output the linear indices of the sorted elemen...

10 years ago | 2

| accepted

Answered
Focus on axes with rotate3d
You can enable rotation only in the specific axes by executing the following line: rotate3d(axes_handle) For example, if...

10 years ago | 2

| accepted

Answered
number format change in axes of graphs
Please refer to this previous post for formatting tick labels: <http://www.mathworks.com/matlabcentral/answers/103188 How do ...

10 years ago | 1

Answered
Subscripted assignment dimension mismatch.
This error means that you are trying to assign to an element of vector |blob| (size 1x1) a vector a size 1x9. That happens becau...

10 years ago | 3

| accepted

Answered
Facing error in combining two m-files
The problem comes from line 111: binaryImage = grayImage < 128; Replace that line by the following: binaryImage = ~...

10 years ago | 1

| accepted

Answered
How to plot several sets (in different colours) with stem3-plotting function?
If you want to plot two series in the same axes in red and in blue, use <http://www.mathworks.com/help/matlab/ref/hold.html |hol...

10 years ago | 1

Answered
bwareaopen creates a noisy result rather than cleanly removing small objects
Make sure that you call |bwareaopen| on a binary image. I executed the following code on the attached JPEG image and it worked: ...

10 years ago | 3

| accepted

Answered
MatLab 2013a takes over 2 minutes to load, is there a way to speed this up?
Here are a few tips to have MATLAB ready more quickly: * <http://www.mathworks.com/matlabcentral/answers/93674 Is it possible...

10 years ago | 1

Answered
Record timing of user input
You can use <http://www.mathworks.com/help/matlab/ref/tic.html |tic|> to start a stopwatch and <http://www.mathworks.com/help/ma...

10 years ago | 2

Answered
C code to S function tutorials
I am not familiar with <http://www.mathworks.com/help/simulink/slref/legacy_code.html |legacy_tool|> but there is another way to...

10 years ago | 1

Answered
Is RGB and True colortype image is same?
Yes, this is the same. "True color" refers to the depth of an RGB image. With true colors, each pixel of an RGB image is 24-bit:...

10 years ago | 3

| accepted

Answered
3d polar plot for numerical solution of PDE system
When using the <http://www.mathworks.com/help/matlab/ref/pol2cart.html |pol2cart|> function, |theta|, |r| and |z| must be of the...

10 years ago | 1

Load more