Respondida
Simultaneous Constant Optimisation for Curve Fitting
Do NOT manually search through a 15 dimensional space for a solution. You are just wasting your time, and this is why tools are ...

alrededor de 1 mes hace | 1

Respondida
How do I graph the negative portion of a square root plot?
Since in reality, you have what is called an implicit function, we want to use fimplicit. I might do it like this: fun = @(x,y)...

alrededor de 2 meses hace | 1

Respondida
How to invert a square matrix using Gaussian elimination
I assume you are forced to use your own code for gaussian elimination here. A bad idea if you are not. NEVER write such code you...

alrededor de 2 meses hace | 0

Respondida
Lognormal distribution parameters mu and sigma
In MATLAB, the tools that use a lognormal distribution have you provide mu and sigma in terms of the underlying normal distribut...

alrededor de 2 meses hace | 0

| aceptada

Respondida
lsqlin unexpected results !!!
Unfortunately, you would have been better off using a direct least squares. That would allow us to see how well the calibration ...

alrededor de 2 meses hace | 1

Respondida
Trying to find pi using when loops to a tolerance of 10^-4.
Many, many things wrong in your code. I'm amazed nobody else as pointed most of them out. It was a start in the correct directio...

alrededor de 2 meses hace | 2

| aceptada

Respondida
how to use a variable in finite field
g = gf(3, 8) whos g g is a gf object. But g is not compatible for multiplication by a symbolic parameter. These are two indepe...

alrededor de 2 meses hace | 0

Respondida
code for check wether the given differential function is function g(x) or g(x,y) in matlab
Easy. For example... syms x y expr1 = 2*x; expr2 = x + x*y; Now use symvar. symvar(expr1) numel(symvar(expr1)) symvar(exp...

alrededor de 2 meses hace | 1

| aceptada

Respondida
can any one help me to find simple empirical model (equation) with a little parameters for this data
As an alternate model, one that employs the assumption that the curve passes through the point (0,1), can we find a different fi...

alrededor de 2 meses hace | 0

| aceptada

Respondida
using global variables to avoid passing by value
Sorry. I'll call it a bad idea, generated because you erroneously think you are doing something good. MATLAB does not actually ...

alrededor de 2 meses hace | 1

| aceptada

Respondida
is there a way to make the 0 x and y axis bold?
It seems simple enough to me. If you want to have ONLY the x and y axes emboldened... % arbitrary example plot, and there is no...

alrededor de 2 meses hace | 0

Respondida
can any one help me to find simple empirical model (equation) with a little parameters for this data
Why not try it? This seems adequate: x=[31.96 30.25 28.27 26.84 25.4 24 23.27 21.89 20.85 18.6 17.02 16 15.81 13.6 12 11.19 9....

alrededor de 2 meses hace | 0

Respondida
How to determine sets with only unique values across the columns of a large logical array?
Are you asking for ALL pairs that share no common elements? That will probably require loops. But I would not use a double loop....

alrededor de 2 meses hace | 0

Respondida
interp1 fails to interpolate on a non-one-to-one function (curve)
interp1 does not fail here. It merely fails to do what it was not programmed to do! Interp1 does as designed. That you try to us...

alrededor de 2 meses hace | 2

Respondida
Given a contour plot is there a function which returns a matrix corresponding to the density of lines at a given (x,y) coordinate?
Is there some specific function? No. But what does a high density of contour lines mean? It says the gradient is large in that v...

alrededor de 2 meses hace | 3

Respondida
The sufficient and necessary conditon of fmincon funciton can find out the global optimal solution but not some other local optimal solutions
I'm sorry, but no. Fmincon CANNOT be assured of always finding a global solution. In fact, I can think of many ways it will fail...

alrededor de 2 meses hace | 1

Respondida
Answers Not Running Code?
Now working. Many thanks for fixing it. As a test to verify that claim, I leave you with this complex mathematical computation. ...

alrededor de 2 meses hace | 0

Respondida
find the way to transfer 2D projection back to 3D
The projection you used into the nullspace was correct, AND robust. However the inverse operation is less easy to perform. You n...

alrededor de 2 meses hace | 0

| aceptada

Respondida
How to solve multiple equation with several conditions in it?
Is chi known? If not, then chi is one of your unknowns, and it must be solved for. Regardless, there will be infinitely many sol...

alrededor de 2 meses hace | 0

| aceptada

Respondida
case sensitivity issue of "load" function
You cannot change the behavior of existing supplied code. If it works that way, then it does, and there is no way to tell load t...

alrededor de 2 meses hace | 0

| aceptada

Respondida
I need to input a matrix of size 2x2 which is something like this A= [ 1 - 1.8629z-1 + 0.8669z-2 , 0 ; 0 , 1 -1.8695z-1 + 0.8737z- 2 ] which is a 2x2 Matrix
So do it. What is the problem? If z is known, then just type it in, pretty much as written. Do you know how to raise a number ...

alrededor de 2 meses hace | 0

Respondida
MATLAB code of intersection
I answered exactly this question only recently. So your class must be all getting this homework assignment. https://www.mathwor...

alrededor de 2 meses hace | 0

Respondida
Is MATLAB 100% reliable? Do the users need to modify it according to their usage? I need this for my presentation in class. Thank you!
I'm sorry, but this question makes no sense at all. Define what you mean by "reliable" in this context. Are you asking if it wil...

alrededor de 2 meses hace | 0

Respondida
Precision Difference Between MATLAB and Simulink MATLAB Function
No. This is not a difference in the precision used. Both tools will use double preicsion arithmetic to store all numbers. Inste...

alrededor de 2 meses hace | 0

Respondida
gamma function with two parameters
There is no common definition of a two parameter gamma "function" in mathematics. So whatever you are asking, you need to be mor...

alrededor de 2 meses hace | 0

Respondida
How to get x value for a given y value in a interp1 figure?
You need to understand there is no unique solution. So asking for THE value of x has no answer, since there are two possible sol...

alrededor de 2 meses hace | 0

| aceptada

Respondida
3D plot with the Earth in the center
With the mapping toolbox, easy. Without the mapping toolbox, more difficult. Nothing is impossible, of course. But lacking the ...

alrededor de 2 meses hace | 0

Respondida
How to draw a map of a country and mark the location of an object on it?
Do you have the mapping toolbox? https://www.mathworks.com/products/mapping.html Your question is easy to answer with that too...

alrededor de 2 meses hace | 0

Respondida
I want to download Matlab 2019or 2021 or 2020 for my macOs monterey 12.6
There is a button that allows you to download previous releases. On the upper right of the page as I recall. HOWEVER, it also l...

alrededor de 2 meses hace | 0

Respondida
How can I subtract elements in an array from the element before it.
help diff

2 meses hace | 1

| aceptada

Cargar más