Answered

displacement vector

I guess you are looking for something at the end the page Use 'quiver' function. Thanks.

displacement vector

I guess you are looking for something at the end the page Use 'quiver' function. Thanks.

3 years ago | 0

Question

Matlab draw 'subaxis' based subplots on specified 'axes'

Hi smart guys, I am coding some GUI staff using Matlab. And I want to plot a figure with subfigures in one specified 'axes' u...

4 years ago | 0 answers | 0

Answered

How to output a 2D integer array using Matlab mex?

I got the answer with the help from someone. I put it here for others' reference. // Output the results plhs[0] ...

How to output a 2D integer array using Matlab mex?

I got the answer with the help from someone. I put it here for others' reference. // Output the results plhs[0] ...

4 years ago | 0

| accepted

Answered

How to pass an image to a 2D array using Matlab MEX?

I got the answer with the help from someone. I put it here for others' reference. // Output the results plhs[0] ...

How to pass an image to a 2D array using Matlab MEX?

I got the answer with the help from someone. I put it here for others' reference. // Output the results plhs[0] ...

4 years ago | 1

Question

How to output a 2D integer array using Matlab mex?

I got a follow up question about Matlab mex function input/output 2D array format. For example, I have a variable '`outputBuff`'...

4 years ago | 1 answer | 0

Answered

How to pass an image to a 2D array using Matlab MEX?

Thanks for editing. I found a way from other people. Just put it here for other people's interest. 1) The line ubuff = (...

How to pass an image to a 2D array using Matlab MEX?

Thanks for editing. I found a way from other people. Just put it here for other people's interest. 1) The line ubuff = (...

4 years ago | 2

| accepted

Question

How to pass an image to a 2D array using Matlab MEX?

I want to read some image to run a C++ MEX function to process this image. The image is originally stored as a Matlab 3D matrix,...

4 years ago | 2 answers | 1

Question

How to get the mean of ROC curves using Matlab?

I met a problem to plot the mean ROC curve of the 10-fold cross-validation using Matlab. I run the code cvPartition =...

4 years ago | 0 answers | 1

Question

Leave-One-Out with ROC

Hi smart guys, May I ask how to create ROC for the leave-one-out cross-validation? I create partition of the data as: ...

4 years ago | 1 answer | 0

Question

How to add a 'colorbar' and set 'clim' to a colour image overlaid on a grey level image?

Hi all, I am trying to overlay a colour image on a grey level image. However, when I try to plot the 'colorbar' and set the '...

4 years ago | 2 answers | 0

Question

How to plot a hyper plane in 3D for the SVM results?

I just wondering how to plot a hyper plane of the SVM results. For example, here we are using two features, we can plot the d...

5 years ago | 1 answer | 1

Question

How to evaluate a logistic regression classifier?

Hi Smart Guys, I wrote following codes to construct a logistic regression classifier. Essentially, it uses the Matlab Genera...

5 years ago | 0 answers | 1

Question

How to do a ROC analysis using Matlab build-in SVM (Not LibSVM)

Hi all, Just wondering anyone knows how to do a ROC analysis using Matlab build-in SVM? This question has been asked by milli...

5 years ago | 2 answers | 0

Question

KNN classifier with ROC Analysis

Hi Smart guys, I wrote following codes to get a plot of ROC for my KNN classifier: load fisheriris; feat...

5 years ago | 1 answer | 0

Question

How to use the 'perfcurve' of Matlab with specific inputs?

Hi Smart guys, I wrote following codes to get a plot of 'classification accuracy' vs. 'threshold': (The datasets has t...

5 years ago | 1 answer | 0

Question

What exactly the ROC curve can tell us or can be inferred?

Hi Smart Guys, I wrote some codes to run a linear discriminant analysis based classification: %% Construct a LDA classif...

5 years ago | 2 answers | 1

Question

How to do a classification using Matlab?

Hi Smart Guys, I have got the data (can be downloaded here: [enter link description here][1]) and tried to run a simple LDA b...

5 years ago | 1 answer | 1

Question

How to get the volume of a 3D concave shape?

Hi smart guys, I am wondering if anyone knows how to get the volume of a 3D concave shape? The Matlab build-in function can o...

5 years ago | 3 answers | 0

Question

How to get the principal curvatures of a given mesh?

Hi smart guys, I have a problem of getting principal curvatures from a given mesh (of a shape). 1. I am trying to use 'pat...

5 years ago | 0 answers | 0

Question

Color map and color bar of the overlaid index image on a gray scale background image?

Hi smart guys, I use following example codes to overlay an index image on a background image (in the example below it is RGB ...

5 years ago | 1 answer | 1

Question

Warning: RGB color data not yet supported in Painter's mode

Hi smart guys, Have you got any new solutions to this 'Warning: RGB color data not yet supported in Painter's mode'? I got...

5 years ago | 0 answers | 0

Question

Question about the last step of computing the eigenface.

I read the article online about computing the eigenface at http://www.scholarpedia.org/article/Eigenfaces and there are 5 step...

6 years ago | 0 answers | 0

Question

Build ITK .dll for Matlab Use?

Hi there, I have got a few ITK based codes which contain lots of useful functions. I am wondering if it is possible to build ...

6 years ago | 2 answers | 0

Submitted

General Reconstruction Demo in 2D

General Reconstruction Demo in 2D

6 years ago | 6 downloads |

Question

How to add a total variation term to my tomographic reconstruction problem?

Hi there, I have got a very simple model to do a tomographic reconstruction: arg min_x ||Ax - y||^2 in which, A is th...

6 years ago | 1 answer | 1

Question

How to solve coupled optimization problem in MATLAB?

I've got a problem of solving coupled optimization problem in MATLAB. For example, The objective function E(a,b) contains two s...

6 years ago | 1 answer | 3

Answered

How to use the Finite Difference Method to get the gradient?

Now I have problems: My function is: % myfun.m function [F, g] = myfun(x) F = 2*sin(x(1)) + 2*sin(x(2)) + ...

How to use the Finite Difference Method to get the gradient?

Now I have problems: My function is: % myfun.m function [F, g] = myfun(x) F = 2*sin(x(1)) + 2*sin(x(2)) + ...

7 years ago | 0

Answered

How to use the Finite Difference Method to get the gradient?

Sorry, the F should be function F = myfun(x) F = 2*sin(x(1)) + 2*sin(x(2)) + 2*sin(x(3)) + 2*sin(x(4)) + 3;

How to use the Finite Difference Method to get the gradient?

Sorry, the F should be function F = myfun(x) F = 2*sin(x(1)) + 2*sin(x(2)) + 2*sin(x(3)) + 2*sin(x(4)) + 3;

7 years ago | 0

Answered

How to use the Finite Difference Method to get the gradient?

Sorry Arnaud, I didn't see you post before. Thanks for your reply. Please read my last post. The same question is if I use 'g...

How to use the Finite Difference Method to get the gradient?

Sorry Arnaud, I didn't see you post before. Thanks for your reply. Please read my last post. The same question is if I use 'g...

7 years ago | 0

Answered

How to use the Finite Difference Method to get the gradient?

Hi Andrew, Thanks very much. I believe it is a very useful tool! I wrote a test function as: % myfun.m functio...

How to use the Finite Difference Method to get the gradient?

Hi Andrew, Thanks very much. I believe it is a very useful tool! I wrote a test function as: % myfun.m functio...

7 years ago | 0