# Giuseppe Naselli

Followers: 0 Following: 0

Professional Interests: Tyres and Vehicle Dynamics Modelling, Simulation, Data Processing, Optimization, Sensor data acquisition, and stuff :)

**Programming Languages:**

MATLAB

**Spoken Languages:**

English, Italian

**Statistics**

RANK**2,065**

of 291,611

REPUTATION**29**

CONTRIBUTIONS

**28** Questions

**4** Answers

ANSWER ACCEPTANCE **
42.86%
**

VOTES RECEIVED**16**

RANK

of 19,806

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Bar plot color, why [1 0 0] does not gives red

Hi All and thanks for reading this. I want to color some of the bars in this plot in red but the color I get is not as expected...

2 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 1

### 1

answerQuestion

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

6 years ago | 3 answers | 0

### 3

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

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

6 years ago | 4

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

8 years ago | 1 answer | 0

### 1

answerQuestion

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

9 years ago | 1 answer | 0

### 1

answerQuestion

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

10 years ago | 1 answer | 0

### 1

answerQuestion

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

10 years ago | 1 answer | 0

### 1

answerQuestion

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

10 years ago | 0 answers | 0

### 0

answersQuestion

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

10 years ago | 1 answer | 0

### 1

answerQuestion

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

10 years ago | 1 answer | 0

### 1

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

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

10 years ago | 1 answer | 0

### 1

answerQuestion

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

10 years ago | 1 answer | 0

### 1

answerQuestion

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

10 years ago | 0 answers | 0

### 0

answersQuestion

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

10 years ago | 1 answer | 0

### 1

answerQuestion

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

10 years ago | 2 answers | 0

### 2

answersQuestion

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

10 years ago | 0 answers | 0

### 0

answersQuestion

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

10 years ago | 0 answers | 0

### 0

answersQuestion

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

10 years ago | 1 answer | 0

### 1

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

10 years ago | 6

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

10 years ago | 3 answers | 0

### 3

answersQuestion

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

10 years ago | 2 answers | 1

### 2

answersQuestion

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

10 years ago | 1 answer | 0

### 1

answerQuestion

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

10 years ago | 2 answers | 0

### 2

answersQuestion

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

10 years ago | 2 answers | 0

### 2

answersQuestion

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

10 years ago | 1 answer | 0