Respondida
How do I find the most stable N consecutive numbers?
The mean difference? What is that exactly? In terms of mathematics? Are you looking for the 50 element consecutive subset with ...

alrededor de 2 años hace | 0

Respondida
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 ...

alrededor de 2 años hace | 1

| aceptada

Respondida
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...

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 1

| aceptada

Respondida
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...

alrededor de 2 años hace | 1

Respondida
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...

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 0

| aceptada

Respondida
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...

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 0

| aceptada

Respondida
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...

alrededor de 2 años hace | 0

| aceptada

Respondida
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...

alrededor de 2 años hace | 1

Respondida
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...

alrededor de 2 años hace | 1

| aceptada

Respondida
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...

alrededor de 2 años hace | 0

Respondida
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+...

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 2

| aceptada

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

Respondida
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 ...

más de 2 años hace | 1

| aceptada

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 1

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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,...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

| aceptada

Cargar más