Answered

Possibly spurious solutions - Matlab blocked with no answers

You are attempting to solve for an analytical solution of 12 simultaneous nonlinear equations, in 12 unknowns. This, even if it ...

Possibly spurious solutions - Matlab blocked with no answers

You are attempting to solve for an analytical solution of 12 simultaneous nonlinear equations, in 12 unknowns. This, even if it ...

15 dagen ago | 1

| accepted

Answered

Solving goal programming problem with MATLAB

READ THE ERROR MESSAGE! What did it say? "Failure in initial user-supplied objective function evaluation. Optimization cannot c...

Solving goal programming problem with MATLAB

READ THE ERROR MESSAGE! What did it say? "Failure in initial user-supplied objective function evaluation. Optimization cannot c...

15 dagen ago | 0

Answered

How to set an axis with arbitrary, but equally spaced, scaling.

You could not plot versus the numbers 0,1,2,3, but then set the x-tick labels as you wish? x = [1/3 1/2 1 inf]; xfake = [0 1 2...

How to set an axis with arbitrary, but equally spaced, scaling.

You could not plot versus the numbers 0,1,2,3, but then set the x-tick labels as you wish? x = [1/3 1/2 1 inf]; xfake = [0 1 2...

17 dagen ago | 1

| accepted

Answered

All possible combinations of a matrix

Did you intend to write 1.024^13? This is not even an integer, and only a little larger than 1. 1.024^13 So there are 1.3611 u...

All possible combinations of a matrix

Did you intend to write 1.024^13? This is not even an integer, and only a little larger than 1. 1.024^13 So there are 1.3611 u...

17 dagen ago | 1

Answered

cubic spline interpolation - mixed boundary conditions possible?

You generally don't want to do this. That is, fit one spline, then construct a second spline to match the first. The result will...

cubic spline interpolation - mixed boundary conditions possible?

You generally don't want to do this. That is, fit one spline, then construct a second spline to match the first. The result will...

18 dagen ago | 0

Answered

what's the relation between A , B and M,G for this Nonlinear system of equation ?

This is not even remotely a question about MATLAB. As such, it should arguably not even be on Answers. But I have a minute to re...

what's the relation between A , B and M,G for this Nonlinear system of equation ?

This is not even remotely a question about MATLAB. As such, it should arguably not even be on Answers. But I have a minute to re...

20 dagen ago | 0

Answered

Check code compatibility with older releases

A way to automatically check code compatibility with older releases, and see at what point a feature that you use makes your cod...

Check code compatibility with older releases

A way to automatically check code compatibility with older releases, and see at what point a feature that you use makes your cod...

20 dagen ago | 0

| accepted

Answered

How to delay a signal using basic operators

This comes down to boundary conditions. So, first, a simple signal... x = [2 3 5 7 11]; Can't be any simpler than that. Now, s...

How to delay a signal using basic operators

This comes down to boundary conditions. So, first, a simple signal... x = [2 3 5 7 11]; Can't be any simpler than that. Now, s...

20 dagen ago | 0

Answered

Generate an orthonormal matrix H mHxNh rank(H)=r

Seems trivial enough. Not possible, at least not for this case. But trivially not possible. mH=5; nH=3; r=2; So a 5x3 array, o...

Generate an orthonormal matrix H mHxNh rank(H)=r

Seems trivial enough. Not possible, at least not for this case. But trivially not possible. mH=5; nH=3; r=2; So a 5x3 array, o...

20 dagen ago | 0

| accepted

Answered

What does the error message "input must be real and full" mean?

The gamma function requires a real input. Although I recall that the symbolic version of gamma can handle complex input. But the...

What does the error message "input must be real and full" mean?

The gamma function requires a real input. Although I recall that the symbolic version of gamma can handle complex input. But the...

21 dagen ago | 0

| accepted

Answered

Mod or Modulus operator in MATLAB

Be careful, as if you look for mod or modulus, you will often see the functions mod or rem, which essentially compute a remainde...

Mod or Modulus operator in MATLAB

Be careful, as if you look for mod or modulus, you will often see the functions mod or rem, which essentially compute a remainde...

21 dagen ago | 0

Answered

Can a MATLAB home license be tied to a dongle?

You should contact customer support directly and ask your question. Answers is not that. Support may be able to offer an idea th...

Can a MATLAB home license be tied to a dongle?

You should contact customer support directly and ask your question. Answers is not that. Support may be able to offer an idea th...

22 dagen ago | 1

| accepted

Answered

How to fix "Number of equations greater than number of indeterminates. Trying heuristics to reduce to square system." error.

You need to understand what was wrong in your forumulation. You want to solve this system using symbolic tools. % define some c...

How to fix "Number of equations greater than number of indeterminates. Trying heuristics to reduce to square system." error.

You need to understand what was wrong in your forumulation. You want to solve this system using symbolic tools. % define some c...

22 dagen ago | 0

Answered

Jumps in roots finding solutions

Lets spend some time to understand what happens. Consider the simple polynomial: y = x^5 + 3*x^4 + (2+t)*x^2 - t^2*x + (1+...

Jumps in roots finding solutions

Lets spend some time to understand what happens. Consider the simple polynomial: y = x^5 + 3*x^4 + (2+t)*x^2 - t^2*x + (1+...

23 dagen ago | 0

Answered

Solving system of nonlinear equations using Matlab

fsolve does not apply constraints. It does not know that you think some coefficient should be some number. It does not care. All...

Solving system of nonlinear equations using Matlab

fsolve does not apply constraints. It does not know that you think some coefficient should be some number. It does not care. All...

23 dagen ago | 0

Answered

Newton Raphson implementation, not converging, maybe error in implementation

There are some significant misunderstandings on your part that I want to clear up, as well as perhaps help you solve your proble...

Newton Raphson implementation, not converging, maybe error in implementation

There are some significant misunderstandings on your part that I want to clear up, as well as perhaps help you solve your proble...

23 dagen ago | 0

| accepted

Answered

Progress bar takes lots of time

Yes, a waitbar takes time to update. It looks like you are calling it a lot. And every time, it does an update. And since this i...

Progress bar takes lots of time

Yes, a waitbar takes time to update. It looks like you are calling it a lot. And every time, it does an update. And since this i...

25 dagen ago | 0

| accepted

Answered

Adoption of Name=Value in Function Calls what is best practice?

What is best practice? I kind of like the new syntax. But best practice would seem to be whatever you like. At some point, might...

Adoption of Name=Value in Function Calls what is best practice?

What is best practice? I kind of like the new syntax. But best practice would seem to be whatever you like. At some point, might...

25 dagen ago | 0

| accepted

Answered

Solving non linear inequalities in 2 variables

The "range of variables? Those inequalities will generally describe some nonlinear "thing", even if they describe a bounded doma...

Solving non linear inequalities in 2 variables

The "range of variables? Those inequalities will generally describe some nonlinear "thing", even if they describe a bounded doma...

25 dagen ago | 2

| accepted

Answered

Question about transcendentals on symmatrix objects

A = symmatrix('A',[2,2]) That produces a matrix of the desired size, which is specifically symmetric, but see that it creates a...

Question about transcendentals on symmatrix objects

A = symmatrix('A',[2,2]) That produces a matrix of the desired size, which is specifically symmetric, but see that it creates a...

27 dagen ago | 0

Answered

Format of a number

You need to understand that MATLAB can represent numbers as large as realmax and as small in magnitude as realmin as double...

Format of a number

You need to understand that MATLAB can represent numbers as large as realmax and as small in magnitude as realmin as double...

27 dagen ago | 0

| accepted

Answered

Programmatically calculate indices of the outline of a circle and all points within in it

Wait. You want to compute the list of all points within a circle? There are infinitely many. Ok, I guess given a MESH of points...

Programmatically calculate indices of the outline of a circle and all points within in it

Wait. You want to compute the list of all points within a circle? There are infinitely many. Ok, I guess given a MESH of points...

29 dagen ago | 0

Answered

Finding range of variable for which eigenvalue of matrix is negative.

These are never trivial. You have a 3x3 matrix. It will have 3 eigenvalues. syms T Matrix = [ 0 1 -1; 1 0 0; -1 0 ...

Finding range of variable for which eigenvalue of matrix is negative.

These are never trivial. You have a 3x3 matrix. It will have 3 eigenvalues. syms T Matrix = [ 0 1 -1; 1 0 0; -1 0 ...

29 dagen ago | 1

| accepted

Answered

How to implement following bessel function in MATLAB

Seriously, READ THE HELP! help besselk What does the very first line say? Modified Bessel function of the second kind. So, yes...

How to implement following bessel function in MATLAB

Seriously, READ THE HELP! help besselk What does the very first line say? Modified Bessel function of the second kind. So, yes...

29 dagen ago | 0

| accepted

Answered

I am trying to do bilinear curve fitting of capacity curve using FEMA-356 procedure. I am providing the data in excel format of the curve.

Sigh. I don't feel anyone has given you a good answer, so I've reopened this many times asked question to provide an answer. Yo...

I am trying to do bilinear curve fitting of capacity curve using FEMA-356 procedure. I am providing the data in excel format of the curve.

Sigh. I don't feel anyone has given you a good answer, so I've reopened this many times asked question to provide an answer. Yo...

30 dagen ago | 0

Answered

Find approximation function z=f(x,y) for a 3-dimension set of data

This is almost always a difficult problem, when you have no physical reasoning to suggest a valid model. That forces you to gues...

Find approximation function z=f(x,y) for a 3-dimension set of data

This is almost always a difficult problem, when you have no physical reasoning to suggest a valid model. That forces you to gues...

ongeveer een maand ago | 1

Answered

Interpolating one variable to another with duplicate data points using interp1 - Error: Sample points must be unique.

Interpolation REQUIRES the data is unique in x. If there are two points with the same x value, then if y is not the same at thos...

Interpolating one variable to another with duplicate data points using interp1 - Error: Sample points must be unique.

Interpolation REQUIRES the data is unique in x. If there are two points with the same x value, then if y is not the same at thos...

ongeveer een maand ago | 0

| accepted

Answered

integral vs trapz vs sum

SIMPLE. READ THE HELP. help trapz So the call to trapz should have been I_trapz = trapz(Es,funn_values); Changing that,...

integral vs trapz vs sum

SIMPLE. READ THE HELP. help trapz So the call to trapz should have been I_trapz = trapz(Es,funn_values); Changing that,...

ongeveer een maand ago | 0

| accepted

Answered

Imposing boundary conditions to a spline interpolation

First, I need to determine if the constraint set you wish to impose actually makes sense. Have you specified too much informatio...

Imposing boundary conditions to a spline interpolation

First, I need to determine if the constraint set you wish to impose actually makes sense. Have you specified too much informatio...

ongeveer een maand ago | 0

| accepted

Answered

How do you solve a system of 16 nonlinear equations with 16 unknowns ?

Whenever we see a number supplied to FOUR significant digits, we should expect that is not the true value, but only an approxima...

How do you solve a system of 16 nonlinear equations with 16 unknowns ?

Whenever we see a number supplied to FOUR significant digits, we should expect that is not the true value, but only an approxima...

ongeveer een maand ago | 1