Answered
Low version of matlab would like to install a high version of the toolbox or use the imfindcircles function
Sorry but no. You can never use an old toolbox in a newer release, or a new toolbox function in an older release. Things change....

9 years ago | 1

Answered
Generate pdf distribution with bias
Simpler than you apparently think. Even trivial. A = 1:5; B = [1 1 1 1 0.5]; B = cumsum([0,B])/sum(B); N = 10000...

9 years ago | 0

| accepted

Answered
How can I use C++ to speed up my matlab code ?
Almost always using compiled code will not give you great speedups, UNLESS your code was inefficiently written in MATLAB in the ...

9 years ago | 0

Answered
Optimal way to parse parameters (fmincon).
I honestly don't think we can KNOW the truly optimal way. It may easily depend on release, since TMW can change things at their ...

9 years ago | 0

| accepted

Answered
lsqcurvefit not working, large f(x) values during iterations
To quote you: %This equation has four parameters: p1, p2, p3, and p4. p1 is k1 (on rate %constant), p2 is k2 (off rate c...

9 years ago | 0

| accepted

Answered
Solving a system of Non-linear Equations with Complex numbers
It appears there are two solutions. They are best found using solve, so a symbolic solution. syms x1 x2 x3 eq1 = x1 + x2...

9 years ago | 1

Answered
how to implement circular reference in MATLAB
But this is not excel. circular references don't apply. You are no longer using a spreadsheet. Why does this matter? Really, you...

9 years ago | 0

| accepted

Answered
INTERPOLATED POINTS WHILE Plotting
Suppose you plot a line, as just two points, between (0,1) and (2,4). h = plot([0 2],[1 4],'o-') h = Line with proper...

9 years ago | 1

| accepted

Answered
How can i change the font of a particular sting in matlab ?
A string has no font information attached to it, as just a list of ascii characters. So you cannot change how disp will respond ...

9 years ago | 0

Answered
Hi, I am trying to generate 100 random integers between the value -4.5 to 5.5.
What error did you get? Surely that should give you a hint, if you read the error message. Why not try to generate them betwe...

9 years ago | 0

| accepted

Answered
Getting an equation (mostly differential) from a curve
This is what interpolation does. Use a list of (x,y) pairs to allow you to predict a value on the curve that is intermediate to ...

9 years ago | 0

Answered
code for prediction in artificial neural network and extreme learning machine is same?
Are you asking if the same model can be used to predict anything, from the weather in Timbuktu, to the price of pork belly futur...

9 years ago | 0

| accepted

Answered
How To Fix an Infinite Recursion?
Is AmericanPrice the name of this function? If so, then it calls itself. Note the error message is: "Error in AmericanPrice...

9 years ago | 1

Answered
How to solve for eigenvalues
Learn to use a rootfinder. Also, learn to use valid syntax. {} is not a valid class of parens in a mathematical expression in MA...

9 years ago | 0

| accepted

Answered
How to find a linear parameter within a matrix by khowing some of its eigenvalues?
You need to use actual mathematics to explain what you need. Clear wording, instead of mathematical jargon that you make up on t...

9 years ago | 0

Answered
Uncertainty calculation for given equation
No. It is not possible to do in any automatic fashion. At least, not with any tools that I know of that are publically available...

9 years ago | 2

| accepted

Answered
Convert formula into coding form
I'd strongly suggest that you start reading the getting started tutorials. This is a very basic question, although I honestly ha...

9 years ago | 0

Answered
How to smoothly interpolate between distant points in 2D matrix?
1. Replace the zeros with NaNs. 2. Use my <http://www.mathworks.com/matlabcentral/fileexchange/4551-inpaint-nans inpaint_nans...

9 years ago | 2

| accepted

Answered
How to know status of the running program and confirm that the program has jammed in infinite loop?
Lots of things you can do. - Display periodic information to the command window, showing the status of your code as it procee...

9 years ago | 1

| accepted

Answered
How can we fix the number of iterations in genetic algorithm??
Um, use a different optimizer? First, some terminology. Each iteration of a GA requires many function evaluations, because it...

9 years ago | 0

Answered
how to resolve this problem i'm getting trouble to proceed ahead...
Directly from the documentation for imgradient... [Gmag,Gdir] = imgradient(I) returns the gradient magnitude, Gmag, and the g...

9 years ago | 0

Answered
Numerical sensitivity of X'*Y*X given X is a permutation matrix
Not a true answer, but IF it were going to happen, you would see it here: [Q,R,X] = qr(rand(3000)); Y = randn(3000); ...

9 years ago | 0

| accepted

Answered
To calculate mahalanobis distance when the number of observations are less than the dimension
The problem is Mahalanobis distance is not defined in your case. https://en.wikipedia.org/wiki/Mahalanobis_distance You ca...

9 years ago | 0

| accepted

Answered
Hi everybody, I have a problem with running the program .
When you get the error, what is the shape of images, and insz? size(images) size(insz) Also, what are the values of i...

9 years ago | 0

Answered
Code works in Octave, but not in Matlab...
This looks like you are expecting something that need not happen. Without even looking that deeply at it, the plots are suggesti...

9 years ago | 0

Answered
scatteredInterpolant giving null matrix
Given the data you have uploaded, that you wish to interpolate with... min(z1) ans = 0 max(z1) ans = ...

9 years ago | 1

| accepted

Answered
Finding the optimal minimum of two vectors
Ok, I NEVER thought this was where you were going with your original question. That is why an example helps. Perhaps you have gi...

9 years ago | 2

| accepted

Answered
Deleting overlapped areas, and circle packing inside complicated shape
A simple solution is just brute force. Create a polygon. You know the exact shape. line segments, with circular arcs in between....

9 years ago | 0

Answered
Distance between two functions
Asking someone else to make a decision like this, if any metric is sufficient is a problem. After all, this is your work, your t...

9 years ago | 1

| accepted

Answered
What is the quickest way to find a gradient or finite difference in Matlab of a real function in high dimensions?
There is my <http://www.mathworks.com/matlabcentral/fileexchange/13490-adaptive-robust-numerical-differentiation derivest> code ...

9 years ago | 1

Load more