Community Profile

photo

Peppe


Last seen: 8 Monate vor Aktiv seit 2011

Followers: 0   Following: 0

Kontakt

Programming Languages:
Python, C++, C, C#

Statistiken

  • Thankful Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Updated Simulink model in Matlab 2022 won't compile
Hello, So what I am trying to do is to update a 2016b Simulink model to 2022b. Each time I pressed on run it complained about s...

9 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
Keep the latest desired value before changing to undesired value
So what I did was the following:

9 Monate vor | 0

| akzeptiert

Frage


Keep the latest desired value before changing to undesired value
Hello, So let state that the signal X has four states [0,1,2,3]. The values 2,3 are not "good" values and you want to keep the ...

9 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Switch block requires all signal to be same virtuality.
Hi, I had a Simulink model that is built in Matlab 2016b and now I am trying to update it to Matlab 2018b. I do run the upgrade...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Calling a user function from Python gives error
Hi, I have user Matlab function. It is written by someone else. There are multiple functions in that file but the first funct...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Goto's and From's performance in Generated C code
Hi, I personaly like to use Goto and From blocks in order to have a easy to read model in Simulink. But now the question came ...

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Input port won't go away by Delete key
Found the solution. I just did in the command window: delete_block('path to the block')

fast 5 Jahre vor | 0

| akzeptiert

Frage


Input port won't go away by Delete key
Hi, Using matlab 2017b with Simulink, By accident I paste a Input port from the library browser. Then I try to remove it but ...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Smooth or filter too noisy data in simulink
Hi I have a control model in simulink. I use a feedback controller where states are estimated using a observer. All states are...

fast 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Tire model with dynamic rolling radius
Hi I am desperately searching for a tire model whithin which a dynamic rolling radius is applied based on magic formula. A tire...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Sliding mode observer gain
I have a nonlinear system model that I try to observe using 2nd order sliding mode observer. However I try to find the proper ga...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Plot extreme values on a time series
Lets say you have a timeserie output where in one column you have Time and in the other you have Data:1 then for finding the ma...

mehr als 6 Jahre vor | 1

Frage


set initial value for a signal and then rewrite it
Hi, I have a loop in which an observer observe the states and then backward it to a controller. There need to be an initial val...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
The states gets changed while observing
The reason is actually the time line or time series. I send the results to workspace and I saw that the time samples are differe...

mehr als 6 Jahre vor | 0

| akzeptiert

Frage


The states gets changed while observing
Hi, I have an control input T that goes straight to a system. In that system I solve a differential equation system with form o...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to select eaach element from a matrix multiplication with bus selector
I have a nxn Jacobian matrix and a nx1 vector that I multiplied and the result is a nx1 vector. I need to select each element th...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Latex in plot title with variables
Solved it using: mytitleText = [' Slip regulation \lambda for K_{\sigma} = ',num2str(Ksigma),' K = ', num2str(K),' and \ep...

mehr als 6 Jahre vor | 4

| akzeptiert

Frage


Latex in plot title with variables
Hi, I'm running Matlab R2014b. Trying to make a nice plot with : title([' Slip regulation \lambda for K_{\sigma} = ',num2st...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to make this integral
Hi Suppose we have following equation: S(x,t) = p(x,t) + k * int_0^t h(\tau) d\tau. What is the difference between this a...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Simulink IRC channel on t ex Freenode
Hi, I wonder why there isnt any channels on for instance Freenode for Simulink. There is already a channel on freenode for matl...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


solving for x in a state space model
Hi, Assume that we have a diff equation as : <<https://latex.codecogs.com/gif.latex?%5Cdot%7Bx%7D%20%3D%20Ax%28t%29&plus;%20...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Saturation function in Simulink
Hi, I would like to implement following block in simulink. How do I do it in Simulink: U = u_d - K/b * sat(σ /θ) where: s...

fast 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


2th order Sliding mode controller / observer In simulink
Hi, I would appritiate if somesone could provide a toturial on how to make a model of 2th order sliding mode controller and obs...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Making interpolate of 3 set of data
Hi, I have some space data (or data space) from measurement that shows the position of the a mass. These data are given in a st...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Calculate PSD using FFT
Why xdft = xdft(1:length(x)/2+1); % what does that mean? xdft(2:end-1) = 2*xdft(2:end-1); %? dubbel side? and why? I do...

mehr als 12 Jahre vor | 0

Frage


Calculate PSD using FFT
Hi, The question is to calculate PSD using FFT function in MATLAB. Ive already done it with pwelch command in MATLAB and now it...

mehr als 12 Jahre vor | 5 Antworten | 1

5

Antworten