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

17 giorni fa | 0

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

18 giorni fa | 2

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

19 giorni fa | 3

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

20 giorni fa | 1

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

21 giorni fa | 0

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

21 giorni fa | 0

| accettato

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

22 giorni fa | 0

| accettato

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

23 giorni fa | 0

| accettato

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

24 giorni fa | 0

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

24 giorni fa | 0

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

25 giorni fa | 0

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

25 giorni fa | 0

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

25 giorni fa | 0

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

25 giorni fa | 0

| accettato

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

26 giorni fa | 0

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

26 giorni fa | 0

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

26 giorni fa | 0

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

27 giorni fa | 1

| accettato

Risposto
How to write in Matlab a matrix whose coefficients depend on a real alpha parameter
Many ways. It seems unclear exactly what is your goal. And what are x and y? Are they just a list of numbers? Or a sequence as l...

27 giorni fa | 0

| accettato

Risposto
how to build a magic matrix manually of even n*n matrix?
@the cyclist is correct, that this is purely an algorithm question. But you did write code. Anyway, I'd start here, if I were y...

28 giorni fa | 0

| accettato

Risposto
How do I plot the cross sectional area and centroid of an I-Beam using pgon ?
The funny thing is, your code was indeed essentially correct. You just started out wrongly. x = [ 0 0 1 1 2 2 3 3 4 4...

28 giorni fa | 0

| accettato

Risposto
I got Inf when calculating 13959^475, how can I solve this problem?
Yes, you can use syms. However, you do NOT want to compute a huge power using syms directly, and THEN compute a modulus. Just co...

29 giorni fa | 0

Risposto
Error With Least Squares Approximation
There are two serious issues in what you are doing, making this apprach, sadly, truly numerical nonsense. You think you did some...

30 giorni fa | 0

Risposto
I unable to get trial version. Can you help?
No. We cannot help you. We are not your local customer support representatives! Answers is just a volunteer forum. We have no ...

circa un mese fa | 0

Risposto
Initial Conditions for Newton Raphson Method for 9 equations 9 unknowns problem set
Not every system of equations you will write down has a solution. Starting from a random position does not insure you will find...

circa un mese fa | 0

Risposto
Average Optimization using GA or intlinprog algorithms
This is not an optimization problem. You only look at it in that way. It is purely a problem of a Monte Carlo simulation, to com...

circa un mese fa | 0

Risposto
MacOS(14.0) and Matlab 2014a format problem
R2014a does not run on that recent of the Mac OS. It is not supported there, and in fact, I am surprised it even comes that clos...

circa un mese fa | 0

Risposto
Can multiple versions of MATLAB be installed on the same Windows PC using the same license number for code compatibility?"
Yes. I frequently have multiple releases on my machine. It is occasionally useful, but the older releases are usually there in m...

circa un mese fa | 0

Risposto
how to use lsqcurvefit on a function that contain a series
You only have ONE data point. xdata=420; ydata=0.1; So only ONE piece of information! How do you intend to estimate TWO param...

circa un mese fa | 0

Risposto
how does this work some clarification
Honestly, this Cody answer is one of the reasons why I think Cody is seriously flawed. It encourages people to write obscene cod...

circa un mese fa | 1

Carica altro