Community Profile

photo

Valeri Aronov


Last seen: mehr als 2 Jahre vor Aktiv seit 2021

Statistiken

  • First Answer
  • Thankful Level 3
  • First Review

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How to loosen equation constaints in my fmincon process?
My objective function (including analytical gradients) and equality constaints are a bit too bulky to present them here. I sta...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Matrix-vector operations without loops
How do I do this without loops: HessW = rand(length(x), length(x), length(f)); GradW = rand(length(x), length(f)); A = zeros(...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
reshape() error in the function created by matlabFunction()
The error is known to MATLAB and will be fixed in the future

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
What is missing from MATLAB #2 - the next decade edition
Your TypicalX option for fminunc() (and others?) should be extended beyond usage for gradient evaluation only. I have used norm...

mehr als 2 Jahre vor | 0

Frage


Rewriting code without loops
I have the following sizes of arrays of doubles: dev 101x1 GradW 4x101 HessW 4x4x101 The...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to rewrite my code without loops?
How to rewrite this code without loops: Grad = zeros(size(x)); for i=1:length(x) for j=1:l...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


reshape() error in the function created by matlabFunction()
matlabFunction() has generated for me AmplAndDers() to be used in fminunc(). The very first objective function evaluation fails...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Unrecognized function or variable 'datachk'?
Soryy for the long Description. I have prepared a target function for optimization and am using it to build contours for now. He...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Populating 2D meshgrid of a function of four variables
I have a function: function [y, Grad, Hess] = Target(x) ... end; where x's size is 4 (a vector of 4 variables)....

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Replacing function variables with a vector before taking a gradient
I have a symbolic function: A = 1/((C1*C2*R1*R2*w^2 - 1)^2 + w^2*(C2*R1 + C2*R2)^2)^(1/2) I would like to replace C1, C2, R1, ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Can I substitute a particular expression?
subexpr() discovers a common subexpression and rewrites a symbolic expression in terms of the found subexpression. How can I sim...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to rewrite my expression using two abbreviations?
I tried Rewrite Expression Using Abbreviations example in https://au.mathworks.com/help/symbolic/subexpr.html for subexpr() and...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to get rid of sign() in diff() results?
I have a symbolic function. diff() produces the result with sign(). The next derivative has dirac() in it. Is there a way to g...

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Using Hessian for least squares problem
It looks like lsqnonlin() from MatLab can't make use of a Hessian (it is not stated explicitly by MatLab, but I read this in the...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I plot a symbolic function of one variable for a specific set of argument values?
Say, I have a symbolic function y(x). There is no support for plotting it when x=logspace(1, 5, 101) in fplot(). How do I do it ...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Where is surf() result?
Can't see the plot even in the documentation example: [X,Y] = meshgrid(-2:.2:2); Z = X .* exp(...

etwa 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


confusing error message: 'Not enough input arguments'?
Having: function [f] = Simple(x) f = (x(1)-1).^2 + (x(2)-1).^2; end and running: x = lsqnonlin(Simple, [2.0, 2.0]) I am g...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort