Richárd Tóth
自 2019 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
What starting point to choose so fsolve always returns a solution when any exists?
Hello I want to check if a circle/sphere has any intersection point with a curve/surface. I did some experiment on this, but o...
5 years 前 | 3 个回答 | 0
3
个回答提问
How to avoid dynamic variable names when I need to differentiate a function with lots of variables?
Hello Take my code for example: n = 8; syms f(x) distsq(x) X=sym('x',[1 n-1]); syms(X); P = zeros(1,n)+0.1; f(X) = sqrt...
5 years 前 | 0 个回答 | 0
0
个回答提问
Is my code correct for finding the distance between a point and a surface?
Hello We have a point, an (hyper)surface and the distance function like . The surface in my example is . P = [0.4 0.4 0.3]; ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Find minimum of an n variable function, n is like 800+
Hello Do you think it's possible to get a solution on a problem like this in a reasonable time? https://math.stackexchange.com...
5 years 前 | 3 个回答 | 0
3
个回答提问
How can I code these 2 equations?
Hello Is it possible to write these as 1-1 assignment? given. is , is and is . and are matrices The problematic p...
5 years 前 | 0 个回答 | 0
0
个回答提问
Linear programming, interested in only 1 variable
Hello It might be a stupid question, but I'm a bit confused. You have inequalities, want to find the smallest for example val...
5 years 前 | 1 个回答 | 0
1
个回答提问
Best way to create a matrix of points?
Hello I have a matrix that contains rectangles(squares in this case), for example: A=[-5 -4.5 1.5 2; -5 -4.5 2 2.5; -5 -4.5 2....
5 years 前 | 1 个回答 | 0
1
个回答提问
Is the usage of fseminf limited?
Hello Consider the constraint: https://www.mathworks.com/help/optim/ug/two-dimensional-semi-infinite-constraint.html Modify ...
5 years 前 | 1 个回答 | 1
1
个回答提问
Is there any way to use intervals(Intlab) instead of real numbers when optimizing in Matlab?
Hello I wanted to use intervals instead of numbers to prevent rounding errors, but since Intlab doesn't belong to Matlab, it is...
5 years 前 | 1 个回答 | 0
1
个回答已回答
How can I find out which function displays something in console?
the find files function was helpful
How can I find out which function displays something in console?
the find files function was helpful
5 years 前 | 0
| 已接受
提问
How can I find out which function displays something in console?
Hello Some weeks ago(when I started using Matlab) I think I modified one of the built in functions which I didn't use since t...
5 years 前 | 1 个回答 | 0
1
个回答提问
How can I troubleshoot this fmincon error?
Hello I'm using the fmincon function to solve an optimization problem, but after the 2nd iteration(the first 2 runs fine), it g...
5 years 前 | 0 个回答 | 0
0
个回答提问
Differentiating gives wrong result
Hello One of my functions returns this symbolic expression (10000*(x2*cos((9*pi)/40) + x1*sin((9*pi)/40))^2)/9801 + (10000*(x1...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to substitute x1,...,xn at once?
Hello Consider the following code: X=sym('x',[1,5]); syms(X); A=[cos(x1)+cos(x2) sin(x2)*sin(x5) x1^2*x3 x4+x5 x5+3]; How d...
5 years 前 | 0 个回答 | 0
0
个回答提问
What's the best way to check if a system of one equation and one inequality has any solution?
Hello I've tried the solve function, but it gave me empty result: syms x y >> cond1 = x^2/25 + y^2/25 == 1; >> cond2 = y <= ...
5 years 前 | 2 个回答 | 0
2
个回答提问
Can one solve optimization problem(in Matlab) with conditional constraint that depends on the decision variables?
Hello My original problem is: Find maximal volume ellipsoid(or ellipse if ), it's size is limited by constraints, can be hi...
5 years 前 | 0 个回答 | 0
0
个回答提问
Fseminf can't be used if the constraints' dimsion is higher than 2?
Hello What can you do if the constraints have higher dimension than 2? Here https://www.mathworks.com/help/optim/ug/two-dimen...
5 years 前 | 1 个回答 | 0
1
个回答提问
What if you modify this matlab optimization example?
Hello https://www.mathworks.com/help/optim/ug/two-dimensional-semi-infinite-constraint.html what if w2 is between 1 and 199 in...
5 years 前 | 0 个回答 | 0
0
个回答提问
Matrix multiplication of different sizes
Hello I can't store equations like these x1,...,xn equations here: https://en.wikipedia.org/wiki/N-sphere#Spherical_coordinat...
5 years 前 | 1 个回答 | 0
1
个回答提问
What's wrong with my objective function?
Hello When I run this line of code, [d,fval] = fseminf(@objfun,x0,numOfInequations,@semInfConstraints); I get the following ...
5 years 前 | 0 个回答 | 0
0
个回答提问
How do you create multiple symbolic variables?
Here is my code, but is there a simpler solution? % create symbolic variables x1,...,xn for i=1:n eval(join(['syms x' s...
5 years 前 | 1 个回答 | 0
1
个回答提问
How could you modify this semi-infinite optimization to global optimization using GlobalSearch?
Hello I managed to create a script and find local minimum for my problem based on this example: https://www.mathworks.com/help...
5 years 前 | 1 个回答 | 0
1
个回答提问
Finding global minimum with fseminf
Hello I'm trying to solve optimization problems with fseminf, but as we know it finds local minimum. My question is: Is it a ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Is it possible to create a function which transforms one expression to another(by substitution)?
The function would accept an input like y >= 2x + 2 and return something like 4ab - a - b + 2 <= 0 by using the following substi...
5 years 前 | 1 个回答 | 0