photo

Martijn


Attivo dal 2012

Followers: 0   Following: 0

Messaggio

Statistica

  • First Review
  • Thankful Level 3
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


xPC-target slower than Simulink in my application?!
Hi everyone, I am running a Simulink model consisting of 3 C-mex S-functions with static linked libraries to an optimization ...

quasi 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Simulink user defined function: undefined variable or function
Dear all, When using a user defined Matlab function in Simulink, with the following structure: function xdot = fcn(x,u...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Create a DOSloader bootable USB drive for xPC-Target
I wish to use the DOSloader option of xPC-target to boot my computer from USB DOS drive into xPC-target. This consist of 2 steps...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Convert a MEX-function to an S-function
Dear all, I want to implement an opensource nonlinear solver in Simulink such that it is suitable for code-generation (XPC-ta...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Risposto
Calling mex function from within Simulink
I am running into a simular problem as described above. I am looking for more specific information on how to construct an S-func...

oltre 12 anni fa | 0

Domanda


Call a MEX function from Simulink
Dear all, I have a .mex64 function that was build from C++ libraries (IPOPT solver) and is able to solve an optimzation probl...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Pre-allocating a function since initialization is slow
Hi guys, Consider this code: clc; clear all; t2=linspace(0,pi,10); f2=cos(t2); tic; cumtrapz(t2,f2); t1=toc...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Risposto
Unconstraint optimization: providing good intial guess does not lead to lower calculation times
I can also guess that it might have something to do with the estimator of the gradient. Close to the optimum, the cost function ...

oltre 12 anni fa | 0

Domanda


Unconstraint optimization: providing good intial guess does not lead to lower calculation times
Dear all, I have a simple optimization problem in which I approximate a set of points by a B-spline. This is done by optimizi...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Risposto
Find a fuction to a vector
Sorry, could you be more specific?

oltre 12 anni fa | 0

Domanda


Efficient Row x Collumn multiplication
Hi all, Consider the vectors: A of size; s x 4 B of size; 4 x s Now, I am only interested in the product A(i,:)*B(:,i...

oltre 12 anni fa | 4 risposte | 0

4

risposte

Domanda


Create a vector with block elements of the same value
For my superfast code (no element wise evaluation of collocation points, but vector-wise) to evaluate Uniform cubic B-splines, I...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Risposto
Chap vector to matrix with special structure.
My own answer: dum=hankel(C) M=dum(1:k,1:n-k+1)

oltre 12 anni fa | 0

| accettato

Domanda


Chap vector to matrix with special structure.
I have a collumn vector consisting of n elemtents (size nx1): P=[P1 ..... Pn]' What I which to do, is transform this into ...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Risposto
Optimization: share additional output of cost function with constraint function
I found the answer after some struggeling with passing on the parameters. Here is the solution: [Cost,Nonlincontr]=Objecti...

oltre 12 anni fa | 0

Domanda


Optimization: share additional output of cost function with constraint function
I have a well defined optimization problem in which I have a separate cost function and a separate constraint function: Cos...

oltre 12 anni fa | 2 risposte | 0

2

risposte