Answered
how define input data type
See doc validateattributes

15 years ago | 0

| accepted

Answered
Traversing an image matrix columnwise
Linear indexing uses columnwise ordering, so as long as you don't need the row and column indexes explicitly, you can do for ...

15 years ago | 1

Answered
Navigating a large classdef in the editor?
I find the code wrapping in the editor very helpful too - when classdef files get big, I keep the methods compressed and expand ...

15 years ago | 0

Answered
about fourier transform
The Discrete Fourier Transform has no parameters to manipulate. The difference between the original and the reconstructed images...

15 years ago | 0

Answered
[DEPRECATED] What frustrates you about MATLAB?
The use of degrees as the unit for angles in some functions of the Image Processing Toolbox. For instance * hough: takes argu...

15 years ago | 2

Answered
relative error- can't stop it
To compute the relative error (assuming you're trying to find a stationary point of the function), after computing ff, subtract ...

15 years ago | 0

Answered
Data with NaN
Unless I've misunderstood your question, plot(x,y,'o'); does exactly what you are asking.

15 years ago | 0

Answered
Draw an outline within an image
You might find the techniques described in <http://blogs.mathworks.com/steve/2011/02/17/pixel-grid/ this blog entry> helpful.

15 years ago | 0

Answered
how to make an occlude image
Assuming you have the Image Processing Toolbox, try using rgb2gray to convert your image to 2-D. Alternatively, why use paint...

15 years ago | 0

| accepted

Answered
Assign variables to positions in matrix
Alternatively, do you mean that you have B and want to divide it into two parts? If B is 2x1 or 1x2 you can do x = B(1); y ...

15 years ago | 0

| accepted

Answered
how to detect more lines using hough function
Try reducing the threshold parameter in HOUGHPEAKS. The default is half the maximum value in the array.

15 years ago | 0

| accepted

Answered
to draw rectangle containing motion region
I think your problem may be the classic row/column vs x/y confusion. In an image, the first index (row index) corresponds to th...

15 years ago | 0

| accepted

Answered
i want to use the parameters inside the loop in function circleintersection after the loop and the error was (referance to cleared variable)wt can i do???
Variables are not automatically cleared at the end of a loop. There is some other problem, which cannot be diagnosed from the co...

15 years ago | 0

Answered
How to determine co-ordinates of a geometrical shape in an image?
If the dots are always circular (or almost circular), the Hough transform offers one approach. If you know the radius in advance...

15 years ago | 0

| accepted

Answered
FFT recursive code problem
The return variable for the function Wn is W, but the result is assigned to w. Make them both the same, and it works fine. Id...

15 years ago | 0

Answered
aligning overlapping images and averaging the overlap
I'm not quite sure what you want to do in the non-overlapping region, but if you want to leave the original images as they are, ...

15 years ago | 0

| accepted

Answered
transforming time domain to frequency domain FFT using GUI
There are two separate parts to this, and I think the first thing you need to do is identify where your problems lie. Could you ...

15 years ago | 0

| accepted

Answered
MATLAB runtime
You would have to change the program itself to display its own progress. You can do this very simply with DISP, or you could use...

15 years ago | 1

| accepted

Answered
Compose with validateattributes
I agree that validateattributes is not general enough - I remember hitting the same difficulty. You could perhaps use a function...

15 years ago | 0

Answered
Matrix of date and number to plot
It's simpler just to leave the data as it is and use datetick to set the axis annotations on your graph. Like this: plot(da...

15 years ago | 4

| accepted

Answered
is it possible to find eigen faces for a single face?
No, you need a set of faces in order to find eigenfaces. (To be precise, you can find one eigenface from a single image, and it'...

15 years ago | 0

Answered
Strings
Mehdi, if you mean that you want to make variables Matrix1, Matrix2 etc. inside a loop, then I agree completely with Walter and ...

15 years ago | 1

| accepted

Answered
Logistic Map Bifurication Diagram
There are various problems: There's a syntax error due to the dot at the end of y = -c*y.^2 +c*y.; Since y is a scala...

15 years ago | 0

Answered
Find a point that does not fit to ellipse from a set of (x,y) co-ordinates
If there is only ever one incorrect point, you could simply omit each point in turn until you get a good fit to an ellipse. (You...

15 years ago | 0

Answered
bwlabel()- clarification and manipulation
See also <http://en.wikipedia.org/wiki/Pixel_connectivity>. The ordering is arbitrary in bwlabel - and if you think about ima...

15 years ago | 0

| accepted

Answered
Detection of stars from the detected objects.
If you have the Image Processing Toolbox, you could start by trying regionprops. This allows you to measure various parameters o...

15 years ago | 0

| accepted

Answered
Matlab Minimum
If you only want the last one, you could use [v, ind] = min(A(end:-1:1)); ind = 1 + length(A) - ind;

15 years ago | 0

Answered
edge parameter calculation
If you have the Image Processing Toolbox, the Sobel edge detector is available as one of the methods implemented in the EDGE fun...

15 years ago | 0

Answered
how to reshape an n x 1 matrix into a squre matrix using matlab?
The SQRT function may be useful here.

15 years ago | 0

Answered
generate a signal of followings notes [240 256 288 320 360 400 450 480hz] with sampling rate of 8000 samples/sec each of duration 2 sec after the delay of 1 sec?
You can generate a sine wave of given duration, amplitude, frequency and sample rate like this: duration = 2; % second ...

15 years ago | 0

Load more