Statistiques
RANG
6 507
of 300 321
RÉPUTATION
7
CONTRIBUTIONS
50 Questions
1 Réponse
ACCEPTATION DE VOS RÉPONSES
80.0%
VOTES REÇUS
7
RANG
of 20 913
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 168 093
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
differentiable approximation of bandwidth in ksdensity for optimization
I have an optimization loss term ||x* - y||^2 where x* corresponds to a quantile approximated via ksdensity (e.g., x* = ksdensit...
7 mois il y a | 1 réponse | 0
1
réponseQuestion
Most efficient way to vertically concatenate numeric data?
In the profiled output picture below, mergedDataPerRank is a cell array storing 53 double matrices with size (6300, 33). Using v...
7 mois il y a | 1 réponse | 0
0
réponseQuestion
nonlinear spline fit with unknown upper bound of interpolation domain
I want to fit the interpolation values of a spline, but I can not provide a good guess for the upper bound of the interpolation ...
8 mois il y a | 1 réponse | 0
1
réponseQuestion
starting vector (zero vector) equals lower bounds but gets projected to non-zero vector
I created a small example where I created a start vector euqal to the lower bounds, so the start vector respects the bounds, tho...
environ un an il y a | 2 réponses | 0
2
réponsesQuestion
scale/normalize parameter vector for optimization
In my optim problem, the parameters naturally vary by several orders of magnitude because they represent interpolation values ...
environ un an il y a | 3 réponses | 0
3
réponsesQuestion
transform linear inequality constraints into bound constraints for optimization solvers
Suppose there are linear inequality constraints and are the parameters optimized by fmincon, lsqnonlin, or friends. Since lin...
environ un an il y a | 2 réponses | 0
2
réponsesQuestion
wait for several system calls to finish
I am calling three external programs and can only continue in the matlab program after all programs are finished. Each of them w...
plus d'un an il y a | 2 réponses | 0
2
réponsesQuestion
uniform knot vector for splines
Suppose we have uniform interpolation points, e.g x = [1 2 3 4 5 6] The functions for knot generation produce knots of the for...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
express basis spline derivative in terms of interpolation values
x = [1 2 3 4 5]; y = randn(size(x)); f = spapi(5,x,y); fdd = fnder(f, 2); If we evaluate the second derivative at a given po...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
steps to convert spline from B-form to pp-form (fn2fm)
x = [3.0,4.5,6.0,7.5,9.0,12.0,15.0]; y = [0 0.0343653 0.0694232 0.105143 0.141178 0.246013 0.630537]; f_bm = spapi(5, x, y); ...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
spapi: why slvblk instead of backslash operator?
% data x = [3.0,4.5,6.0,7.5,9.0,12.0,15.0]; y = [0 0.0343653 0.0694232 0.105143 0.141178 0.246013 0.630537]; xq = linspace(...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
distribution of interpolation points in spline interpolation
rng("default") n = 10; x = linspace(1,10,n); xi = linspace(min(x), max(x), 1e3); y = rand(length(x)); pp = csape(x,y); % in...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
cubic spline interpolation - mixed boundary conditions possible?
We need two boundary conditions. Is it possible to specify the first and second derivative at the same boundary point? In csap...
plus d'un an il y a | 3 réponses | 0
3
réponsesQuestion
Interpolation schemes that produce positive second derivatives of the interpolant
Given a set of x-values and y-values. The interpoland to this data should have non-negative second derivatives, allowed to be di...
presque 2 ans il y a | 5 réponses | 0
5
réponsesQuestion
fmincon optimization: is the first order optimality very sensititve to changes in the step tolerance?
I use fmincon interior-point algorithm to fit parameters to a pde. Here are my basic settings: opts = optimoptions('fmincon',...
presque 2 ans il y a | 1 réponse | 1
1
réponseQuestion
parfor chuncks: are loop iterations running in parallel WITHIN a chunck on local machine?
I know that parfor does load-balancing to break the loop iterations into chuncks which are then sent to the workers. Demo exam...
presque 2 ans il y a | 1 réponse | 0
1
réponseQuestion
global optimization in parallel in combination with external pde solver
I use MultiStart from the global optimization toolbox to run lsqnonlin solver for a bunch of start vectors. I want to run the l...
presque 2 ans il y a | 1 réponse | 0
1
réponseQuestion
matlab uitable: split columns into several rows
I construct an uitable from a struct like: % params is a struct T = struct2table(params); fields = fieldnames(params)'; fig ...
environ 2 ans il y a | 1 réponse | 0
1
réponseQuestion
graphical visualization of input parameters collected in a struct/array
My simulation depends on a whole bunch of input parameters that control various features of the simulation. I decided to group...
environ 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
vectorize expression containing if statement
A = [-5 3 2;2 3 4; 3 5 6; -2 8 9]; %compute product of columns in a vectorized fashion A(:,1).*A(:,2).*A(:,3); %calculate the...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
tall array introduces significant overhead if I call gather() at every iteration in a loop
I want to figure out the spread of the invariants of a symmetric 3x3 matrix using the code below %input nPts = 2; ub = 2.0; ...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
out-of-memory because of large array: tall array as a workaround?
Given a symmetric, positive definite 3x3 matrix (6 independent components), I want to figure out the spread of the first and sec...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
how can I increase the performance of this loop?
nPts = 15; a = linspace(0.1, 2.0, nPts); b = linspace(0.1, 2.0, nPts); c = linspace(0.1, 2.0, nPts); d = linspace(-0.3, 2....
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
scatteredInterpolant: what is linear interpolation in 2d?
%coords supportPts = [3 3; 3.3 3; 3 3.25; 3.3 3.25; 3.6 3; 3.6 3.25; 3 3.5; 3.3 3.5; 3.6 3.5]; %values Fval = [0 0.1121 0.064...
plus de 2 ans il y a | 1 réponse | 0
1
réponsecan I pass these nonlinear constraints to lsqnonlin?
residual =[residual; smallnumber*[diff(G,2);diff(H,2)]] This is an equivalent way to implement my suggestion I just realize th...
plus de 2 ans il y a | 0
Question
c++ engine API: minimal example gives segmentation fault, see stacktrace
I built an c++ API engine using a minimal example as shown here https://de.mathworks.com/help/matlab/matlab_external/test-your-...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
bilinear extrapolation based on interp2
[X,Y] = meshgrid(0:10); Z = X.^2 + Y.^2; [Xq,Yq] = meshgrid(0:0.25,10); V = interp2(X,Y,Z,Xq,Vq,'linear'); I want to use int...
plus de 2 ans il y a | 2 réponses | 1
2
réponsesQuestion
can I pass these nonlinear constraints to lsqnonlin?
Let denote a function of two variables and the parameters of the optimization problem which I want to solve with lsqnonli...
plus de 2 ans il y a | 3 réponses | 0
3
réponsesQuestion
symbolic differentiation to find analytical expressions that are time-consuming to calculate manually?
Given a function of two variables f(x,y) = I want to find the analytial expression of the determinant of the Hessian of . ar...
plus de 2 ans il y a | 1 réponse | 0
0
réponseQuestion
lsqnonlin optimization: large condition number of Jacobian matrix at all iterations, but full rank
I use lsqnonlin to solve a non-linear data-fitting problem (fitting parameters of a partial differential equation). The minimiza...
plus de 2 ans il y a | 2 réponses | 1
