Answered
Error with sinc command
sinc is also present in the symbolic toolbox, though it would not be of use here. You need the signal processing toolbox for the...

4 years ago | 0

Answered
How to create this matrix ?
It appears the request was to concatenate the two planes of A into one plane, and then concatenate another matrix to the columns...

4 years ago | 2

| accepted

Answered
sequence of color on a surf plot
Surf plots each grid line, as a BLACK line. The black lines are useful, and help you to see the shape of the surface for smaller...

4 years ago | 0

| accepted

Answered
why surf function does not show complete data
Um, EXACTLY what is not shown? :) LOOK CAREFULLY at the surface you show. You surfed a 8x5 grid, right? Now, count the lines sh...

4 years ago | 2

| accepted

Answered
How to find the derivative of one output quantity with respect to another output quantity
Basic calculus. Each module must be a function of SOMETHING else, thu some other parameter. What parameter is controlling them? ...

4 years ago | 0

Answered
Best Curve-Fitting Function
The "best" solver? Ii is the one you have access to, and the one you know how to use. Fit is easy to use. mdl = fittype('1/(...

4 years ago | 0

| accepted

Answered
How to perform linear curve fitting based on distance from line instead of residuals
This is the classic total least square problem. Sometimes it is called the errors in variables problem, sometimes known as ortho...

4 years ago | 0

| accepted

Answered
How do i input this on MATLAB
Assuming that p and q are real numbers, do you understand there will ALWAYS be three solutions to the problem, and that for many...

4 years ago | 1

Answered
Curve fitting with variance
Why cannot you just use variance for weight? In fact, that is essentially what you DO want to do. The weight on a data point wil...

4 years ago | 0

Answered
How to take data from multiple variables and store them in one variable?
Essentially, you just need to learn MATLAB. Read the various tutorials you can find. In there you would learn about the various ...

4 years ago | 0

Answered
PC requirements for running multi-Objective optimization algorithms
Sorry, but this is a question that is far too vague to have a useful answer. You tell us only that as written by you, your code...

4 years ago | 0

| accepted

Answered
How to findout this equations value
That is impossible, since your equations are not written in unambiguous mathematics. Is e^15b intended to mean exp(15*b)? Is...

4 years ago | 1

| accepted

Answered
Is it possible to create a surface plot from scattered points?
We don't have your data. But there are mltiple solutions you can use. First is my gridfit. You can download it from the file ex...

4 years ago | 0

Answered
can if conditions be used for equality constraint in fmincon?
NO. That creates a non-differentiable equality constraint. Not even continuous. For example, at u(2) == 0.4, what happens? u2 ...

4 years ago | 0

| accepted

Answered
How to fix optimization terminated?
Do you recognize that "terminated" is often used as a synonym for "done", or perhaps "finished", or even "happy as a clam at hig...

4 years ago | 1

Answered
Questions about the Lsqnonlin function
This is NOT a problem with lsqnonlin, but in your understanding of determinants and why they are a bad thing to use. You misund...

4 years ago | 3

| accepted

Answered
Minimize distance between curves
This is a classic calibration problem of sorts. Lacking any data, I cannot really help you as much as I might want to. But I can...

4 years ago | 0

Answered
Solve the system of three equations and three unknowns
The answer is actually pretty easy. First, you need to understand that those who are answering your question do not seem to appr...

4 years ago | 1

Answered
Criteria for judging overfitting
If there were some clear and simple rule, then the code would be written to recognize that, and alert you of the problem. But th...

4 years ago | 0

Answered
Is there a reason why row vectors are default in Matlab?
It just is. Around 40 years ago, someone made a choice. The choice was fairly arbitrary. But they made it. And once made, that c...

4 years ago | 3

| accepted

Answered
How to sub sym to a number in a matrix
syms x y z M = [x-2,x+y,z^2] subs(M,[x,z],[1 3])

4 years ago | 0

Answered
Can the function "Taylor" process the input type "Function handle" directly?
Can taylor handle some completely general function handle? No. Why not? A Taylor series is easy to compute, in theory. The coef...

4 years ago | 0

| accepted

Answered
how to take numerical inverse integration?
This is technically called an inhomogeneous Fredholm integral equation, of the first kind. https://en.wikipedia.org/wiki/Fredho...

4 years ago | 0

| accepted

Answered
How can I find all n-bit semiprime numbers?
Ok, I'll give in. A reasonable question, with a reason to be asked. Given a valid reason for the question, I am actuually quite ...

4 years ago | 0

| accepted

Answered
generate a random number base on pdf function
First, is that the PDF of a random variable? If it was, the integral would be 1. syms x P_x = x/2 + 1/2; int(P_x,-1,1) And o...

4 years ago | 1

| accepted

Answered
Can we choose step size rule in fmincon?
If you could control the stepsize, then it would damage the convergence properties of a tool like fmincon. Sadly for you, this i...

4 years ago | 0

Answered
Describe a colormap in the legend of a plot
Hard to put it into a legend, since legend is not designed to do that. Far easier (one line of code) to just put a title above t...

4 years ago | 0

Answered
An example of a large matlab project
Look on the file exchange. You will see many such submissions. I have at least a few such, with at least one where I spent multi...

4 years ago | 0

| accepted

Answered
Rate of Change - Derivative of experimental data
If your data is smooth enough, then the direct gradient calls that Star shows are ok. The problem is, if there is any noise in y...

4 years ago | 0

Answered
I did not get any email for activation key. My recent purchase order is complete.
Answers is not customer support. Answers is a volunteer forum. we have no ability to help you. We have no access to any database...

4 years ago | 1

Load more