Community Profile # Christos Patrinos

##### Last seen: 4 days ago
14 total contributions since 2016

View details...

Contributions in
View by

Question

Is it possible to create swept sine wave in Simulink?
Hello, I would like to create a sine wave 0-4 Hz in Simulink. How could I do that?

16 days ago | 1 answer | 0

### 1

Question

Why do we have to provide the jacobians at the Non-linear MPC of Matlab?
Hello, this is more of a theory question but I would greatly appreciate if you could cite good sources with the theory behind m...

1 month ago | 0 answers | 0

### 0

Question

Question regarding the NMPC example of the pendulum
Hello, I was looking at the NMPC example of the pendulum (https://www.mathworks.com/help/mpc/ug/swing-up-control-of-a-pendulum-...

2 months ago | 0 answers | 0

### 0

Question

How to measure time that fmincon takes to extract one solution from a NMPC running in Simulink
I am running a Non-linear MPC at Simulink and I would like to know if it is possible to measure the computational time it takes ...

2 months ago | 0 answers | 0

### 0

How to count how many times a nested function is being called during fmincon
I found the answer by looking at this topic: https://www.mathworks.com/help/matlab/math/output-functions.html

2 months ago | 0

| accepted

Question

Plot3 with different colors depending on the value of Z
I am trying to create something like a contour plot but only with vectors. To be more specific, I have 3 vectors of equal length...

2 months ago | 1 answer | 0

### 1

Question

How to count how many times a nested function is being called during fmincon
Hello, I am working with a Non-linear MPC and I am using fmincon for the optimization. The NMPC runs in Simulink and currently ...

2 months ago | 1 answer | 0

### 1

Question

How to see at each iteration the results of fmincon
Hello, I am using a Non linear MPC formulation for my problem, but I would like to check the results of fmincon at each iterati...

2 months ago | 1 answer | 0

### 1

Question

Running two control systems with different rates
Hello, I have a relatively general question. I have two control systems that communicate with each other (one feedforward con...

2 months ago | 0 answers | 0

### 0

Question

How to store dynamically an array in a For iterator Simulink Subsystem
Hello, I have this simple system: The code in the function is: function a = fcn(iteration,a) a(1,iteration) = iteration;...

3 months ago | 1 answer | 0

### 1

Vector type output from MATLAB function in Simulink - Errors
The issue was that I hadn't declared an else/elseif in the if statement so Simulink didn't know what to do if the statement wasn...

3 months ago | 0

| accepted

Question

Vector type output from MATLAB function in Simulink - Errors
Hello all, I have been trying to work out how to implement a vector of any size (1xn) with MATLAB functions in Simulink. For ...

3 months ago | 1 answer | 0

### 1

Question

Curve Fitting for non-continuous data with infinity
Hello, I am currently doing some experiments with a SLS/SLM machine in which I measure the width of the product of the experi...

3 years ago | 1 answer | 0