Respondida
how define input data type
See doc validateattributes

más de 15 años hace | 0

| aceptada

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

más de 15 años hace | 1

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

más de 15 años hace | 0

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

más de 15 años hace | 0

Respondida
[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...

más de 15 años hace | 2

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

más de 15 años hace | 0

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

más de 15 años hace | 0

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

más de 15 años hace | 0

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

más de 15 años hace | 0

| aceptada

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

más de 15 años hace | 0

| aceptada

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

más de 15 años hace | 0

| aceptada

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

más de 15 años hace | 0

| aceptada

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

más de 15 años hace | 0

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

más de 15 años hace | 0

| aceptada

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

más de 15 años hace | 0

Respondida
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, ...

más de 15 años hace | 0

| aceptada

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

más de 15 años hace | 0

| aceptada

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

más de 15 años hace | 1

| aceptada

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

más de 15 años hace | 0

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

más de 15 años hace | 4

| aceptada

Respondida
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'...

más de 15 años hace | 0

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

más de 15 años hace | 1

| aceptada

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

más de 15 años hace | 0

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

más de 15 años hace | 0

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

más de 15 años hace | 0

| aceptada

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

más de 15 años hace | 0

| aceptada

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

más de 15 años hace | 0

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

más de 15 años hace | 0

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

más de 15 años hace | 0

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

más de 15 años hace | 0

Cargar más