Professional Interests: Vehicle Dynamics Modelling and Simulation, Data Processing in the time and frequency domain, Optimization, Arduino-Based Data Acquisition Systems and Sensors

Question

sigma deletes the axis grid

Hi All, my code is below myFigure=figure; % create a figure ax1 = subplot(231, 'Parent', myFigure,'UserData','my_stuff','next...

1 year ago | 1 answer | 0

Question

Does the Simulink State-Space block use the Matlab function "lsim"?

I wish to know what function is the Simulink State-Space block using when calculating the time domain response of a state-spase ...

2 years ago | 1 answer | 0

Question

Recreating a figure from its handle after it has been closed

Hi All, I have a function that creates a figure as below mainfig = myfunction(x,y) mainfig = figure('Nu...

2 years ago | 2 answers | 0

Answered

How do I display custom text for the data cursor?

Hi, thanks for this but the explanation is a bit vague. * Could you please explain a bit better where the display_risk.m n...

How do I display custom text for the data cursor?

Hi, thanks for this but the explanation is a bit vague. * Could you please explain a bit better where the display_risk.m n...

2 years ago | 0

Answered

How to set different y limits for multiple subplots?

if you use the handle of each sub plot you will have much more freedom (and less issues :) ) for example subplot1 = subplo...

How to set different y limits for multiple subplots?

if you use the handle of each sub plot you will have much more freedom (and less issues :) ) for example subplot1 = subplo...

2 years ago | 2

Question

Going from the time doain to the frequncy domain, why the amplitude of the signal is increased?

Hi All, I have a time-depended signal (vector signal.mat and time.mat). In particular, I know the signal values are accelerat...

5 years ago | 1 answer | 0

Question

Matlab and Google Sheet Compatibility

Hi, Matlab is one of the most used languages in the world such is Google in terms of on-line products. So i guess you have now...

5 years ago | 1 answer | 0

Question

Where I can find a cluster to use? ( I would pay for it if necessary)

Hi All, I manage to make the Genetic Algorithm to work in parallel (with the 2 cores of my processor) in order to optimize a ...

6 years ago | 1 answer | 0

Question

Optimum solution found does not correspond to minimum of the cost function - Genetic Algorithm

Hi All, I have a Simulink model which depend on parameters like springs value and damper settings. The spring values availabl...

6 years ago | 1 answer | 0

Question

Isosurface with discrete data 4-dimension data? how to plot surface passing through a series of points?

Hi ALL, I have a series of data F as function of X,Y and Z. F,X,Y and Z are all 1-column vectors I wish to plot them i...

6 years ago | 0 answers | 0

Question

Assigning Simulink parameters values to the Model Workspace using command line or scripting

Hi All, my aim is to be able to add a variable to the Model Workspace from Command Window and/or from a script. How can I ...

6 years ago | 1 answer | 0

Question

Problem using OPTIMOPTIONS with FMINCON for PARALLEL COMPUTING

Hi All, I am performing an optimization of parameters of a Simulink model using fmincon The options I am using are the followi...

6 years ago | 1 answer | 0

Answered

Matlab Simulink variable's time

Hi Darka, you can log your variable using a "outport" for example (or a "to Workspace" block), you can also set your model to...

Matlab Simulink variable's time

Hi Darka, you can log your variable using a "outport" for example (or a "to Workspace" block), you can also set your model to...

6 years ago | 0

Question

Simulink Design Optimization - Parameters Constrains like p1<= p2

Hi ALL, I am using Simulink Design OPtimization. I have 8 parameters (p1,p2 ...p8) that I want to tune for optimum performanc...

6 years ago | 1 answer | 0

Question

Simulink Design Optimization - Problem with Custom Requirement function

HI All, I have a Simulink model and my aim is to minimize the following cost_function = rms(Signal_A) + 0.5 rms(Signal_B) ...

6 years ago | 1 answer | 0

Question

What the Scale Factor does in the Simulink Design Optimization when creating a Design Variables set?

<</matlabcentral/answers/uploaded_files/10659/Capture.JPG>> Hi All, I have a simulink model and I am setting up a Design O...

6 years ago | 0 answers | 0

Question

NaN after applying filtfilt

Hi All, I am having some problem in using a filter. I designed a specific filter using the following commands fs = 20...

6 years ago | 1 answer | 0

Question

Fatal Error using CFTOOL

Hi, I am having always the same fatal error (and then consequent crash of Matlab) every time I try to use the CFTOOL. Atta...

6 years ago | 2 answers | 0

Question

Error using the FIT function

Hi All, I have y data as function of x, or y = f(x). I want to use the FIT function inside a script My aim is to smooth...

6 years ago | 0 answers | 0

Question

Problem acquiring multiple ranges using RLMREAD

Hi All, suppose you have a .txt file with number in it, let's say a .txt file where there is a portion of the file with the f...

7 years ago | 0 answers | 0

Question

Fitting Curve passing through zero using CFTOOL

Hi All, below the data from a damper dyno test (attached). As you can see this shows some hysteresis. <</matlabcentra...

7 years ago | 1 answer | 0

Answered

"ans" variable function output unwanted

Found the problem and it is very stupid (and embarassing) The function is absolutely fine. I called the function with the co...

"ans" variable function output unwanted

Found the problem and it is very stupid (and embarassing) The function is absolutely fine. I called the function with the co...

7 years ago | 3

| accepted

Question

"ans" variable function output unwanted

Hi All, I wrote a function in matlab in order to process some data. The function works fine and the results are as I want. ...

7 years ago | 3 answers | 0

Question

Real-Time Data Acquisition from Arduino using Simulink

Hi All, I am writing my question here after many attempts to solve the problem by myself and after being confused by the very...

7 years ago | 2 answers | 1

Question

Averaging Hysteresis Data - how to do it?

Hi All, below damper Force Vs Velocity for a typical 2-way adjustment damper is shown and as expected a typical hysteresis sh...

7 years ago | 1 answer | 0

Question

does the Matlab Version for Formula Student Licence expire on 1st January 2014 ??

Hi from OBR, as team participating to FSG and FSUK we downloaded the Matlab version for Formula Student teams as it has more ...

7 years ago | 2 answers | 0

Question

Drive the Rotation on a body in Virtual Reality from a simulink model signal

Hi, I have a model of a dynamic system (a car) which define 7 DoF (the 4 vertical motion of the wheels + Heave, Pitch and Roll...

7 years ago | 2 answers | 0

Question

How to build Body Plots in Simulink from time-domain data (non-linear system)

Hi, I have a series of time-domain signals, let, says X (input signal) and A,B,C,D,E (output signals) These measurements c...

7 years ago | 1 answer | 0

Question

How to perform a Butterworth filter with zero phase shift in Simulink

Hi All, In order to obtain a zero-phase shift filter in matlab, I used to use butter() in order to get the filter coefficient...

7 years ago | 0 answers | 1

Question

How to obtain the frequency of a signal as function of the time?

I have a discrete signal sampled at 0.005 seconds. (a 2-columns vector, the first colum is the time the second the value of the ...

7 years ago | 1 answer | 0