Community Profile

# Richárd Tóth

18 total contributions since 2019

#### Richárd Tóth's Badges

View details...

Contributions in
View by

Question

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

11 days ago | 1 answer | 0

### 1

answer

Question

Is the usage of fseminf limited?
Hello Consider the constraint: https://www.mathworks.com/help/optim/ug/two-dimensional-semi-infinite-constraint.html Modify ...

21 days ago | 1 answer | 1

### 1

answer

Question

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

23 days ago | 1 answer | 0

### 1

answer

Answered
How can I find out which function displays something in console?
the find files function was helpful

24 days ago | 0

| accepted

Question

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

24 days ago | 1 answer | 0

### 1

answer

Question

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

1 month ago | 0 answers | 0

### 0

answers

Question

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

1 month ago | 1 answer | 0

### 1

answer

Question

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

1 month ago | 0 answers | 0

### 0

answers

Question

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

1 month ago | 2 answers | 0

### 2

answers

Question

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

1 month ago | 0 answers | 0

### 0

answers

Question

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

1 month ago | 1 answer | 0

### 1

answer

Question

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

1 month ago | 0 answers | 0

### 0

answers

Question

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

1 month ago | 1 answer | 0

### 1

answer

Question

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

1 month ago | 0 answers | 0

### 0

answers

Question

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

2 months ago | 1 answer | 0

### 1

answer

Question

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

2 months ago | 1 answer | 0

### 1

answer

Question

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

2 months ago | 1 answer | 0

### 1

answer

Question

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

2 months ago | 1 answer | 0

answer