Answered
Can LU decomposition use more than 12 cores in a Desktop?
LU takes advantage of built-in Multithreading and that extends beyond 12 cores. The 12 core limit you are probably referring ...

12 years ago | 1

Answered
How to calculate normal to a line?
If this is a homework, please spend some time familiarizing yourself with basics of MATLAB. You can start by going through the <...

12 years ago | 1

Answered
plotting a periodic signal.
Student, this is simple plotting in MATLAB. Take a look at the documentation: http://www.mathworks.com/help/matlab/ref/plot.h...

12 years ago | 0

Answered
K-mean for Wine data set
Ganesh, what distance metric does the 'literature' use? The kmeans default is 'sqEuclidean'. You have to make sure you are co...

12 years ago | 0

Answered
Matlab 2012 mesh problem
The density of lines depends on your input data. You can play around with the color etc using the Surface Properties: http://...

12 years ago | 0

Answered
Is function Unique described correctly in the documentation
There are compatibility considerations for the UNIQUE function detailed here in the release notes: http://www.mathworks.com/h...

12 years ago | 0

Answered
Curve fitting for a trig function
You can do custom fitting using optimization functions from base MATLAB. Here is a page from the documentation that shows you...

12 years ago | 0

Answered
errors with optimoptions and optim.options.createSolverOptions
Hi David, This seems like it most certainly is a path related issue. Could you try the following? >> restoredefaultpath ...

12 years ago | 1

| accepted

Answered
how do i clasiify non linearly separable data using unsupervised classification methods like k-means?
KMEANS function in the Statistics Toolbox returns the 4 centeroids. You can compute the distance between an new point and each ...

12 years ago | 0

Answered
Average curve for a set of curves
If X is the same for each experiment then you just have to >> Yavg = mean([Y1 Y2 Y3 Y4 Y5],2); % assuming Ys are column ve...

12 years ago | 1

Answered
Can someone help me with facial recognition using matlab?
Dear Incredible Innovators :) Computer Vision System Toolbox now ships with Viola-Jones detection algorithm. Here is an ex...

12 years ago | 0

| accepted

Answered
How to make Linear Interpolation
I am assuming you are using a version of MATLAB atleast after R2012a. If not you can repeat the similar exercize using meshgrid ...

12 years ago | 1

| accepted

Answered
How to use pchip to interpolate between data points in cartesian coordinate format
This works perfectly fine for me: >> x= [518666 521872 519984 519591 518800]; >> y= [4694989 4667173 4644884 4645622 464...

12 years ago | 1

Answered
How can I fit data which is like that it will check directly several possible issue of fitting then in output it will give right fitted curve ?
If you are looking to do this automatically you can use Stepwise regression. http://www.mathworks.com/help/stats/linearmodel....

12 years ago | 0

Answered
princomp function (coeff, score, latent)
PRINCOMP assumes rows are the observations. Which means if a is 100x2595 you'd have to use the transpose: >> [COEFF,SCORE,l...

12 years ago | 1

Answered
How does one use integral2 (double integral) symbolically?
From the documentation of integral2: integral2 Numerically evaluate double integral http://www.mathworks.com/help/m...

12 years ago | 0

| accepted

Answered
Which one is best for calculating circularity ?
IMFINDCIRCLES? http://www.mathworks.com/help/images/ref/imfindcircles.html

12 years ago | 1

Answered
How to define some orders in ARIMA
This should do the trick: arima('ARLags',1,'MALags',[1 8]) ans = ARIMA(1,0,8) Model: --------------------...

12 years ago | 2

| accepted

Answered
Is mwarray being phased out ?
They are different. mxArray is for external interfaces. For example if you are interfacing MATLAB with legacy C code by calli...

12 years ago | 0

| accepted

Answered
Parameter estimation behavior by GA optimization toolbox
Do you know the true values? It is always entirely possible that the estimates are not the same as your true values that let you...

12 years ago | 0

| accepted

Answered
How to add condition for X in simulannealbnd
Simulated Annealing does not allow for non-linear constraints, it only allows bound constraints. Hence simulannealibnd. If yo...

12 years ago | 0

| accepted

Answered
Integrating mnvpdf using integral2
From the documentation of intergral2: http://www.mathworks.com/help/matlab/ref/integral2.html#inputarg_fun The functio...

12 years ago | 0

| accepted

Answered
Function for ploting the norms of a matrix
Use the norm function to compute different norms of a vector or a matrix: http://www.mathworks.com/help/matlab/ref/norm.html

12 years ago | 0

Answered
what is AcceptanceFcn in simulannealbnd
The explanation of AcceptanceFcn's role here: http://www.mathworks.com/help/gads/how-simulated-annealing-works.html#bq3a9do-1...

12 years ago | 0

| accepted

Answered
Where can i get a Tutorial for the use of COBRA Toolbox
The entire documentation is here: http://opencobra.sourceforge.net/openCOBRA/opencobra_documentation/cobra_toolbox_2/index.ht...

12 years ago | 2

Answered
Kernel of a matrix
Use the NULL command: http://www.mathworks.com/help/matlab/ref/null.html It returns the kernel or the nullspace of the inp...

12 years ago | 2

Answered
use kmeans to split database of flowers
You can specify your 'seed' as start point for KMEANS: [idx,ctrs] = kmeans(X,11,'start',seedmat) X is your matrix of 100...

12 years ago | 0

| accepted

Answered
Polynomial Multiple Regression - Which function to use and how ?
*How do I go about doing it?* LinearModel.fit: http://www.mathworks.com/help/stats/linearmodel.fit.html Implement on your...

12 years ago | 0

Answered
significance of p-value, r square , standard erro and z score in regression analysis...
This is not specifically a MATLAB question, but you can obtain all of these as an output of <http://www.mathworks.com/help/stats...

12 years ago | 0

Answered
Question regarding hydroelectric dam optimization webinar
Hi John, You can contact the author of the webinar content directly. You can find the email in the following submission: http...

12 years ago | 0

| accepted

Load more