Respondida
Help with solve and symbolic equations
The first equation does not use i0 at all. So it makes no sense to try to solve two equations for one unknown anyway, where that...

alrededor de 3 años hace | 1

| aceptada

Respondida
bilinear extrapolation based on interp2
Ugh. This is just a bad idea, Extrapolation in general is a bad thing to do. A better word is probably excrapolation. You will g...

alrededor de 3 años hace | 1

Respondida
How to take the middle of a list?
"really specific" issues probably means that it makes no sense to ask for the middle 3 elements of a VECTOR (Python has lists, M...

alrededor de 3 años hace | 1

Respondida
Inverse input/output of switch case function
In general, no, that is not possible, at least to get MATLAB to do this automatically for you (if your mapping is not a single-v...

alrededor de 3 años hace | 2

| aceptada

Respondida
What resample method can I use for time series that increases nonlinearly?
This is really an interpolation problem. You can call it a resampling, but interpolation is all it is. And you can do everything...

alrededor de 3 años hace | 1

| aceptada

Respondida
Is there a way to constrain singular value decomposition results?
No. You cannot constrain the SVD (as employed by PINV, I assume) to yield a solution that obeys bound constraints. That computa...

alrededor de 3 años hace | 0

Respondida
Need gradual data values.
Actually, it IS quite a smooth curve. Almost perfectly smooth, in fact. y = [0.0320415867172945 0.184398415806668 0.0...

alrededor de 3 años hace | 0

Respondida
How to surf very small values keeping the same ratio?
I THINK what you are asking is how to make the surface show there is little variation in z. I'll make up an example... [X,Y] = ...

alrededor de 3 años hace | 0

| aceptada

Respondida
Subdividing a 2-D Polygonal Shape Using Values Given in an Array
Sadly, this is an impossible task to do perfectly. Even imperfectly is difficult. And wanting quadrilaterals makes it harder yet...

alrededor de 3 años hace | 0

| aceptada

Respondida
Will the MATLAB Answers community diminish/obsolete with the rise of AI-based chatbots?
Will it? Well, CAN it? Yes, of course. I have no claim to omniscience, nor any reservations that something or someone would/coul...

alrededor de 3 años hace | 2

| aceptada

Respondida
How do you get first n number of solutions while solving numerically ?
Too late, since you have an answer that solves your problem to your satisfaction. I want to point out something you probably nee...

alrededor de 3 años hace | 1

Respondida
How to solve the problem of convergence at the infeasible point?
You have 22 unknowns, and 18 constraints, 12 or them linear, but the other 6 are nonlinear equalities. A 22 dimensional space is...

alrededor de 3 años hace | 0

Respondida
gernerating standard normal variable in matlab
I'm a little confused. Why would you expect the result (of z*z') would be even remotely close to an identity matrix? In fact, yo...

alrededor de 3 años hace | 0

Respondida
Set Element Index to 1
Your real problem is you misunderstand what you are doing, in wanting to write a Newton-Raphson code! If I had to guess, your co...

alrededor de 3 años hace | 0

Respondida
Random numbers generation based on specific distribution function, then sort in specific way
Where is the problem? You don't say what the distribution of those numbers is, so absolutely nothing can be done until you deci...

alrededor de 3 años hace | 0

Respondida
constrain the csapi fitting to positive values
I'm sorry, biut you cannot constrain an interpolating spline built by csapi to be everywhere positive. The mathematics of how th...

alrededor de 3 años hace | 0

| aceptada

Respondida
Formulating a part of a given circle
Drawing circular arcs here seems a bit unnecessary, since there is no need for it. You seem to be just looking for the basic sha...

alrededor de 3 años hace | 1

Respondida
What is the difference in inpaintn and inpaint_nans functions?
inpaint_nans is my code, so I know where it is, on the file exchange. Looking there, I see also a code named inpaintn. If you w...

alrededor de 3 años hace | 1

| aceptada

Respondida
My Matlab command windows displays poorly organized rows and columns whenever I display a big array, how to I fix this?
You need to set the desktop text font to be a monospaced font. Go to: Settings/Fonts I tend to use something simple like M...

alrededor de 3 años hace | 1

Respondida
Does the randi function have a good level of pseudorandomness?
randi is random. At least as good as is mathematically possible to make it so, based on the random number generation tools we ha...

alrededor de 3 años hace | 1

Respondida
Integral of user-defined function
Is your code vectorized? That is, what happens when a VECTOR of elements for y is passed in? (It does not appear to be.) integ...

alrededor de 3 años hace | 0

Respondida
I want to find second and third maxima in a row of a matrix of size 1000*8
BREAK DOWN PROBLEMS THAT ARE TOO LARGE FOR YOU TO HANDLE INTO SMALLER, BITE SIZED CHUNKS. First, if it is a particular row, the...

alrededor de 3 años hace | 0

Respondida
How to get area between 2 cdf curves?
If the curves cross, then you need to decide what the "area between" means. That is, is the area in one part negative? Or do you...

alrededor de 3 años hace | 0

| aceptada

Respondida
transposing 3d matrix with permute function
You CANNOT tell MATLAB that a matrix is explicitly 265x508x1, and have it recognize that third singleton dimension. Yes, if you ...

alrededor de 3 años hace | 0

Respondida
How to calculate are under the curve from 2 vector sets.
It seems as if you want to compute the area between the curve and the x axis, while ignoring the sign of y. But a simple integra...

alrededor de 3 años hace | 1

| aceptada

Respondida
lsqnonlin optimization: large condition number of Jacobian matrix at all iterations, but full rank
@SA-W - A full rank does NOT mean the parameters are not linearly dependent. With that high of a condition number, it often does...

alrededor de 3 años hace | 0

Respondida
lsqcurvefit() moved from Matlab to toolbox?
You definitely mis-remember this. lsqcurvefit has always been in the optimization toolbox. At least as long as I can recall on t...

alrededor de 3 años hace | 0

Respondida
Hi there, I am trying to solve a differentiation of long equation. The system shoot me the warning that cannot find a explicit solution. I need the value of X in terms C.
I want world peace. Does that mean I can have it? I even need world peace. Still, no good. How about you? You need to solve an e...

alrededor de 3 años hace | 0

| aceptada

Respondida
how to write a specific text in matlab
L appears there as a function ONLY as the inverse of L. As such, it is just a name. We could call it something else, and nothing...

alrededor de 3 años hace | 0

Respondida
How to generate bivariate random normally distributed 3d array?
Um, trivial? You apparently want to generate 300 samples of a bivariate normal. So generate them as a 300x2 array, Then reshape...

alrededor de 3 años hace | 1

| aceptada

Cargar más