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

oltre 12 anni fa | 2

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 15

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 2

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 2

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 3

| accettato

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 2

| accettato

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

oltre 12 anni fa | 2

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 3

| accettato

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 3

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 2

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 3

| accettato

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

oltre 12 anni fa | 1

Carica altro