Answered
how to write fusion code
Its the new math, or maybe math deflation. However, if it is possible that somehow, you have slipped a decimal point, you mig...

9 years ago | 0

Answered
Double integral using integral2, too many input arguments
Integral2 assumes the function must have TWO variables. After all, there are TWO integrals being done here. Now read the error m...

9 years ago | 0

Answered
How to plot nullcline in matlab?
It seems like you understand the need for .^ operators here. So why have you not chosen to use ./ when appropriate? (The .* oper...

9 years ago | 0

| accepted

Answered
Accuracy of eig() in MATLAB 2016b
The pictures seem to have come through, but I still can't do computations on a picture of an array, nor will I bother to type in...

9 years ago | 0

Answered
How can i find the unequally spaced points from a fiited curve (non linear least square) using polyfit or some other method
There are MANY things in what I read from your "comment" that were just bad ideas. You are trying to do modeling, but don't real...

9 years ago | 0

Answered
curve fitting, can anybody fit data and find out relation between x and y
You are the 1 millionth person to ask this question. No prize is awarded though. Sorry. plot(x,y,'o-') <</matlabcentral/...

9 years ago | 0

Answered
Import and write date that is larger than 16 digits
You cannot read a number into MATLAB and store the exact number if it is 20 digits long. You CAN read it in as a character st...

9 years ago | 0

Answered
binomial theorem and MATLAB
Actually, what you wrote for y2 is NOT (x-1)^2. It is (x-1)^7. 2 and 7 are not the same thing. Well, they look alike in some fon...

9 years ago | 1

Answered
Reconstruct a scalar field from its gradient
Just download my <https://www.mathworks.com/matlabcentral/fileexchange/9734-inverse--integrated--gradient intgrad tools> from th...

9 years ago | 0

Answered
pca() output: which weight belongs to which factor?
But that is NOT what you get from PCA. PCA tells you that some linear combination of the variables is important, or not. It does...

9 years ago | 0

| accepted

Answered
Genetic algorithm, nonlinear constraints, TolFun how to get good results ?
This is not a question of options. Yes, people think, if only I knew what options to set, and to exactly what values, the answer...

9 years ago | 0

| accepted

Answered
Fit Curve to scattered GPS Points (X,Y,Z) and resample along it
NO NO NO. This is NOT a problem for scattered interpolation in ANY form. Luckily, I have posted a tool on the file exchange t...

9 years ago | 0

| accepted

Answered
How can I calculate the confidence interval for "lsqnonneg" regression?
The standard solutions for confidence intervals do not apply to bound constrained regression (lsqnonneg). That normally leave...

9 years ago | 0

Answered
fsolve with solution constraints
You claim that fmincon and lsqnonlin require the SAME constraints. This is completely false. Read the help for LB and UB. In...

9 years ago | 0

| accepted

Answered
Debugging help for the exponential search code below
It does exactly what it does. There is no problem that we can see, since we have no idea what it is supposed to do. Is the goal ...

9 years ago | 0

| accepted

Answered
How to get mod of large numbers?
Because MATLAB works in double precision. 5652^42 * 23^77 ans = 2.78954779454946e+262 This is a number with 263...

9 years ago | 0

Answered
Hypsographic curve of hights
So your solution is to give up and ask someone else to do it for you? What did you do? Where have you looked? Did you do a se...

9 years ago | 0

Answered
Project 3D points to a surface
Minimum Euclidean distance to a general surface is a somewhat nasty problem to solve. With ONE independent variable, IF the func...

9 years ago | 4

| accepted

Answered
Solving a system of multiple equations for multiple variables
Getting better. At least you made an effort this time. But you have 8 equations, with 10 variables, one of which has a known...

9 years ago | 2

Answered
Unable to write files to current directory. You may not have sufficient privileges. Change write permissions for the current directory, or navigate to a different directory.
This is not a MATLAB problem, because MATLAB is just passing on information to you about what your computer is allowing it to do...

9 years ago | 0

Answered
Equivalent to a Vloookup from Excel - can it be done?
1. Take the floor of your array A. That will convert the elements to integers, 0 - 265. 2. Add one, since these will be used ...

9 years ago | 0

Answered
Hello I am trying to solve equation to get values for Bo. If any one could give me hand it would be helpful. Thnks
There will probably be no analytical answer. Sorry, but the presence of the unknowns inside and out of various terms makes that ...

9 years ago | 0

Answered
How to determine the volume bounded by z=x^(a-1)*y^(b-1)*exp(-x^a-y^b) and z=0.05 (a,b>1) x>=0 y>=0
Back. At least a good drive gives me some time to think. :) There are at least three if not 4 ways I can think of to solve th...

9 years ago | 3

| accepted

Answered
do disp iterations slow down the code?
Of course dumping stuff to the command window will slow things down. That forces MATLAB to format your variables for display. Pl...

9 years ago | 0

| accepted

Answered
How to get all the coefficients of a polynomial with symbolic coefficients?
If you type the name of the function properly, it will work. syms f1 f2 z a = (f1-f2)*z^2 + f1*z +1; coeffs(a,z,'all...

9 years ago | 1

Answered
How to get all the coefficients of a polynomial?
One problem with text is knowing that you are writing the number 1, versus the lower case LETTER l. Some fonts make this more or...

9 years ago | 1

Answered
How to take input from the user through inputdlg for the upper triangle elements of a matrix?
Why would you want to create a terrible user interface? inputdlg is NOT a good tool to provide large amounts of data. Instead...

9 years ago | 0

Answered
Curve (Line) Fitting in 3D
Here is your data, plotted: <</matlabcentral/answers/uploaded_files/76322/untitled.jpg>> PLOT EVERYTHING. You have what...

9 years ago | 1

| accepted

Answered
How error is propagating when using approximated values
This is a classic question in the field of Error Propagation. often called Statistical Tolerancing. The main question that yo...

9 years ago | 0

Answered
Counting syllables in text from a txt file.
The English language is a aggregate mess, compiled from words taken from many languages. So you can virtually never be 100% corr...

9 years ago | 1

Load more