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

2 meses 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...

2 meses 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...

2 meses 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...

2 meses 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...

2 meses 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...

2 meses 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...

2 meses 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...

2 meses 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...

2 meses hace | 0

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

2 meses 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...

2 meses 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+...

2 meses 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...

2 meses 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...

2 meses 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...

2 meses 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...

2 meses 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...

2 meses 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...

3 meses 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...

3 meses 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...

3 meses 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 ...

3 meses 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...

3 meses 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...

3 meses 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...

3 meses 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...

3 meses 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,...

3 meses 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...

3 meses hace | 0

| aceptada

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

3 meses hace | 1

Respondida
How to do bit-wise operations on symbolic variables that may be very long possibly larger than inter 64
Why is there a problem? Just define the numbers as syms. Make sure that you don't make the mistake of computing 2^n as a DOUBLE....

3 meses hace | 0

| aceptada

Respondida
Roots of a 4th degree polynomial and plotting a graph
Effectively, you are telling us that one of the coefficients of the polynomial is determined to within some interval. And now yo...

3 meses hace | 0

Cargar más