답변 있음
explaining this code for matrix
I suggest you set a breakpoint at the beginning of the code to use the debugger. Using the debugger you can execute each line at...

대략 12년 전 | 1

답변 있음
Is it possible to load and modify the same .mat file in two instances of matlab?
I don't know if your code would work but trying to access a single resource from two different processes sounds like a bad idea....

대략 12년 전 | 1

| 수락됨

답변 있음
Problems with Solving a Complex System of Two Equations
You can solve a system of equations and specify the range of the solutions using <http://www.mathworks.com/help/symbolic/vpasolv...

대략 12년 전 | 1

답변 있음
ginput() and 2 subplots -- is there a way to show cursor location on BOTH subplots?
You can specify with <http://www.mathworks.com/help/matlab/ref/ginput.html |ginput|> how many points you would like to click. It...

대략 12년 전 | 2

답변 있음
How to write an array containing letters and number to file?
<http://www.mathworks.com/help/matlab/cell-arrays.html Cell arrays> can contain elements of different types and sizes. They work...

대략 12년 전 | 3

답변 있음
How do I stop matlab automatically converting a normal variable into a global variable that I defined previously but deleted.
Variables declared in a script exist in the base workspace. However, variables declared inside a function only exist in the func...

대략 12년 전 | 1

| 수락됨

답변 있음
Replace NaN values with a formula
Hi Caleb, You can use the function |<http://www.mathworks.com/help/matlab/ref/isnan.html isnan>| to check if an element of A ...

대략 12년 전 | 1

| 수락됨

답변 있음
how to plot many plots at the same one?
Hi Mika, If you want to draw all the patterns in the same figure, you should indeed use |hold on|, however, by calling |figur...

대략 12년 전 | 1

답변 있음
what wcompress error means
There seems to be a bug in either |wfandfcidx| or |wavedec2|, which are internal functions called by |wcompress|. I am sorry I c...

대략 12년 전 | 1

답변 있음
Laplacian and sobel for image processing
Make sure |img| is in right format. |imfilter| will work on a grayscale uint8 image. However, |conv2| will only work on a double...

대략 12년 전 | 1

답변 있음
Solving a Nonlinear Equation using Newton-Raphson Method
The following code implements the Newton-Raphson method for your problem: fun = @(x)x^3 - 0.165*x^2 + 3.993e-4; x_true = f...

대략 12년 전 | 16

| 수락됨

답변 있음
How can I add one more hidden layer to ANN wizard?
I don't think there is a way to change the number of hidden layers using the wizard. Only the number of neurons in the hidden la...

대략 12년 전 | 4

답변 있음
how I can use gaussian mixture model to calculate a statistical value
MATLAB implements the Expectation-Maximization algorithm to fit a Gaussian mixture to some data. Use the <http://www.mathworks.c...

대략 12년 전 | 1

답변 있음
Multiple object tracking in binary images
Instead of using bwlabel, you could use <http://www.mathworks.com/help/images/ref/bwconncomp.html bwconncomp> to find your compo...

대략 12년 전 | 1

답변 있음
How to change the 1x 52176 vector into an image
You can use <http://www.mathworks.com/help/matlab/ref/reshape.html reshape> to transform your vector into a matrix. Then, you mi...

대략 12년 전 | 1

답변 있음
Need code to apply median filter and then gaussian filter to patches of an image
You can use <http://www.mathworks.com/help/images/ref/medfilt2.html medfilt2> to perform 2D median filtering on an image. Exampl...

대략 12년 전 | 1

답변 있음
Finding the Index number that corresponds to a specific value
You can use the <http://www.mathworks.com/help/matlab/ref/find.html find> function on your input matrix directly. If I am correc...

대략 12년 전 | 2

답변 있음
How do 3D coordinates map to a 3D matrix?
I assume in the following piece of code that your 3D points are listed in an N-by-3 vector named 'points'. % Min and max va...

대략 12년 전 | 1

| 수락됨

답변 있음
Undefined function or method for input arguments of type 'double'
Are you sure the Financial Instruments toolbox is installed on your machine? Type the following in the command window: v = ...

대략 12년 전 | 1

답변 있음
Match the points in two different image?
There are several kinds of features that you can try to extract and match between two images. For example, SIFT, SURF, Harris co...

대략 12년 전 | 5

| 수락됨