Community Profile

photo

Daniela Würmseer


Last seen: circa un anno fa Attivo dal 2022

Statistiche

  • Thankful Level 3
  • Thankful Level 2

Visualizza badge

Content Feed

Visto da

Domanda


Plot two functions in one diagramm with different y-axis limits
Does someone know how i could solve the following Problem: %x_1,...,x_7 are real valued Variables (which are generated before) ...

circa un anno fa | 0 risposte | 0

0

risposte

Domanda


Plot two functions in one diagramm with different y-axis limits
Hey, i want to plot for example two functions in one diagramm as the following Code and picture: figure fplot(@(x) sin(x), [-5...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


Is there a special Matlab function existing to check feasibility of a Point (to a Optimization Problem)
Hello, i have for example the following Problem f1 = @(x) x(1)+x(2); Aneq = [-1 0 0 -1 1 0 0 1]; b...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


Fmincon finds no solution with break Points
Hello, i want to solve the following Problem. I have the Problem that sometimes i get a solution to the Problem and sometimes no...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


Why is fmincon not finding the right solution?
Hello, i have the following Problem: min x1,x2 s.t x1,x2 >= 1 x1 mod 1 = 0 %that i have only integer solutions x2 mo...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


Solve Equation and Plot it
Hello, i have the follwing equation: 0 = 0.5*alpha*(w(1)*f_1-w(2)*f_2)^2+p(1)*f_1+p(2)*f_2+skalar- AF_z which i want to write...

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


How to do "not equal to" constraints in fmincon/Global search?
Is there (in the meantime) a better way than: https://de.mathworks.com/matlabcentral/answers/409510-set-not-equal-to-constraint...

quasi 2 anni fa | 3 risposte | 0

3

risposte

Domanda


Query: If global search found no solution
Hello, is there a way to do a query, if the global Search Alg (or MultiStart Alg) was not able to find a solution? I have an ...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Preallocation Problem in for loop
I have a function which takes a cell array "c" and checks for the length of x and a part of the code is: str = []; for i=1:siz...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Check if function handle is nonlinear with Matlab
Hello, is it possible to check with matlab if a Function Handle is nonlinear? For example: f1=@(x) x(1)+x(2)-5; f2=@(x)10*x(...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Different solutions of fmincon when changing x0
I wanted to ask if it is normal that fmincon can have different solutions with different x0? I implement an Algoritjm by myself...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Finding out the size of x (so how many xi we have) in a function handle
Hello, if i have fore example the following function f1 = @(x) x(1)^2+x(2)^2; can we somehow find out the "size" of x? So with...

circa 2 anni fa | 4 risposte | 0

4

risposte

Domanda


Negation of a function handle
Hello, i have an Optimizationproblem where i want to negate my functions (which are nonlinear) if it is a max Problem. minusf...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Sorting Points (2D) clockwise
Hello is there a function or easy way to sort 2D Points clockwise? For example: Given: x = (-1,-1) y = (4,2) z = (-1,4) An...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Error: Operator '-' is not supported for operands of type 'function_handle'.
Hello, i have the following Code: f1 = [-1,-1]; f2=@(x)-10*x(1)+x(1)^2-4*x(2)+x(2)^2; A = [3 1; 2 1 ; 1 2]; b = [...

circa 2 anni fa | 1 risposta | 1

1

risposta

Domanda


Finding all local/global minima of an Optimization Problem
Is there a way of finding all local/global minima of an Optimization Problem with Matlab? For example: f= [-1,-1] x0 = [0,0];...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Global Optimizationproblem using Global Search
Hello, i am trying to use the globalSearch function to solve the following Optimization Problem: min - x(3) s.t. -x(1) -x(2) <...

oltre 2 anni fa | 2 risposte | 1

2

risposte