回答済み
how define input data type
See doc validateattributes

約15年 前 | 0

| 採用済み

回答済み
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年 前 | 1

回答済み
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年 前 | 0

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

約15年 前 | 0

回答済み
[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年 前 | 2

回答済み
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年 前 | 0

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

約15年 前 | 0

回答済み
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年 前 | 0

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 0

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 0

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 1

| 採用済み

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

約15年 前 | 0

回答済み
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年 前 | 4

| 採用済み

回答済み
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年 前 | 0

回答済み
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年 前 | 1

| 採用済み

回答済み
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年 前 | 0

回答済み
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年 前 | 0

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 0

回答済み
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年 前 | 0

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

約15年 前 | 0

回答済み
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年 前 | 0

さらに読み込む