Community Profile

# Giuseppe Naselli

Last seen: 6 days ago Active since 2013

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

#### Content Feed

View by

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...

2 years ago | 1 answer | 0

### 1

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 ...

3 years ago | 1 answer | 0

### 1

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...

3 years ago | 2 answers | 0

### 2

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...

3 years ago | 0

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...

4 years ago | 3

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...

6 years ago | 1 answer | 0

### 1

Question

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...

6 years ago | 1 answer | 0

### 1

Question

Where I can find a cluster to use?
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 Si...

7 years ago | 1 answer | 0

### 1

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...

7 years ago | 1 answer | 0

### 1

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...

7 years ago | 0 answers | 0

### 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 ...

7 years ago | 1 answer | 0

### 1

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...

7 years ago | 1 answer | 0

### 1

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

7 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...

7 years ago | 1 answer | 0

### 1

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) ...

7 years ago | 1 answer | 0

### 1

Question

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

7 years ago | 0 answers | 0

### 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...

7 years ago | 1 answer | 0

### 1

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...

8 years ago | 2 answers | 0

### 2

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...

8 years ago | 0 answers | 0

### 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...

8 years ago | 0 answers | 0

### 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...

8 years ago | 1 answer | 0

### 1

"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...

8 years ago | 5

| 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. ...

8 years ago | 3 answers | 0

### 3

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...

8 years ago | 2 answers | 1

### 2

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...

8 years ago | 1 answer | 0

### 1

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 ...

8 years ago | 2 answers | 0

### 2

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...

8 years ago | 2 answers | 0

### 2

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...

8 years ago | 1 answer | 0

### 1

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...

8 years ago | 0 answers | 3