# Alessandro Maria Laspina

**Statistics**

RANK**15,254**

of 265,496

REPUTATION**2**

CONTRIBUTIONS

**32** Questions

**3** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**2**

RANK

of 18,135

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 116,844

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Shared Tiledlayout colorbar for R2020a

So there is a fast method for versions R2020b and after to place a shared colorbar. But I have 2020a. How can a shared colorbar ...

3 months ago | 0 answers | 0

### 0

answersQuestion

Histogram bin location to place text for categorical data

Hello, I'm trying to find the bin location for categorical data for histogram. Using text I can place the number of the counts...

3 months ago | 2 answers | 0

### 2

answersQuestion

2D-Histogram with log y and x ticks

Hello, i am trying to use the solution in Plot 2D-histogram for X and Y - (mathworks.com), and add set(gca,'Yscale','log'...

3 months ago | 1 answer | 0

### 1

answerQuestion

Create Categorical array for histogram on R2020a

It seems like this example on Histogram plot - MATLAB - MathWorks Italia : A = [0 0 1 1 1 0 0 0 0 NaN NaN 1 0 0 0 1 0 1 0 1 0 0...

3 months ago | 1 answer | 0

### 1

answerQuestion

Boxplot multiline labels with latex interpreter

I am trying to plot a boxplot for data with two different lines for each label that are strings constructed from values of a mat...

3 months ago | 1 answer | 0

### 1

answerQuestion

Generating all unique binary vectors of length N given certain criteria

Hello, the following relates to the solution given in the question: How do I create a matrix with all binary combinations? - ...

3 months ago | 1 answer | 0

### 1

answerQuestion

Most efficient way to find all unique solutions of q

I am designing a convex program on MATLAB whose if-else functionality is being modelled with a binary vector q that is 1xN vecto...

5 months ago | 0 answers | 0

### 0

answersQuestion

Gurobi mex file cannot be found despite it being clearly there

Hello, I have downloaded Gurobi 9.5.0 along with its license (academic). I am unsure if this is a gurobi side issue or if it...

9 months ago | 1 answer | 0

### 1

answerQuestion

How can I extract the CLim color id of an imagesc plot?

For an imagesc plot, I have set the color limits of the cells between 0 and 100. I would like to know what the color id of each ...

11 months ago | 0 answers | 0

### 0

answersQuestion

How can I add x and y ticks to my imagesc graph?

I have the graph with the x and y data given in the files attached. These values vary in order of magnitude from 10^1 to 10^5, a...

11 months ago | 1 answer | 0

### 1

answerQuestion

How can I make a single letter or specific letters bold without using the latex interpreter for title, axis, and labels?

As the question states, I want to be able to have a label that only has in bold certain characters. I specifically do not want ...

11 months ago | 1 answer | 0

### 1

answerQuestion

Possible bug in fitrm within subject parameter declaration?

Hello, in building my repeated measures model for a factorial manova experiment (using matlab's manova function), there seems...

1 year ago | 0 answers | 0

### 0

answersQuestion

Saving image in full screen with TiledLayout

With reference to this post: Saving a figure in full screen size? - MATLAB Answers - MATLAB Central (mathworks.com), I want to s...

1 year ago | 1 answer | 0

### 1

answerQuestion

Validating MPC controller with parameters

I have an MPC controller, and build it with the following script: nx = 11; ny = 11; nu = 13; nlobj = nlmpc(nx,ny,nu); nlobj...

1 year ago | 0 answers | 1

### 0

answersQuestion

Specifying reference state values in MPC controller cost function

Hello, I have an MPC controller, built with the following general format (i have not included the nonlinear equations because ...

1 year ago | 0 answers | 0

### 0

answersQuestion

Very small u control values in LQR initial response

I have a system described by xdot=Adx+Bdu and y=Cdx+Ddu, where dx and du are the changes in the states and control variables, ba...

1 year ago | 1 answer | 0

### 1

answerQuestion

Creating rgb vector based on Z data for standard colorbar

I have Z data for my x, and y data for which I would like to plot in a standard plot using the z data as a colorbar. I know tha...

1 year ago | 1 answer | 0

### 1

answerHow can I rotate a vector by a certain amount along a specific plane?

To find the vector that is in the same plane as the points c, a, and b, which is orthogonal to a we must: 1) first find the vec...

1 year ago | 0

| accepted

Question

How can I rotate a vector by a certain amount along a specific plane?

I have three points in inertial space which is enough to specify a plane. I have a vector that lies in this plane, and would lik...

1 year ago | 2 answers | 0

### 2

answersQuestion

How can you have two different legend charts on the same plots with different titles?

I have a a figure where I am trying to plot 6 different graphs. 3 of these graphs belong to a particular subset which represent ...

1 year ago | 1 answer | 0

### 1

answerQuestion

Surface fit x y vector data with length(x)*length(y) size Z matrix

Hello, I am reposting a question to clear some things up from my previous post. Let me introduce the problem again: I have a...

1 year ago | 0 answers | 0

### 0

answersQuestion

How do you set a breakpoint on multiple lines at once?

I have a long code, and the error handling options are not respected most likely because the code I am using is part of a softwa...

1 year ago | 1 answer | 0

### 1

answerQuestion

Surface fit approximation for x,y and z data

I have an x and y vector, of sizes n and m respectively. I also have a z matrix of size n by m. I am trying to do one of the f...

1 year ago | 1 answer | 0

### 1

answerQuestion

ModuleNotFoundError; running python script in matlab script

I have a python script that I want to run through MATLAB. I have installed python 3.9.2 for windows but when I run the following...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can I transmit multiple variables to a function in the form of a single array?

My function has 20 inputs, in other words, it looks something like this: function [output1,output2]=multi_input(a,b,c,d,e,f,...

1 year ago | 1 answer | 0

### 1

answerQuestion

MATLAB crashes when running in a parallel bash mode

Hello, bear with me for a few paragraphs while I explain the background of the problem as this is a meta-programming issue. ...

1 year ago | 0 answers | 0

### 0

answersQuestion

datcomimport returns all coefficients as 99999

Hello, I am using for006.dat from DATCOM's 99 version to import aerodynamic data. All input data is correctly displayed when u...

1 year ago | 0 answers | 1

### 0

answersQuestion

DATCOM file reader state inconsistent

Hello, I am using DATCOM's for006.dat file to import aerodynamic coefficient data into matlab. When I use the datcomimport fun...

1 year ago | 0 answers | 0

### 0

answers%0.1x formatting not working for two digits (greater than 9)

Correct formatting should be %1.0f.

1 year ago | 0

| accepted

Question

%0.1x formatting not working for two digits (greater than 9)

I am meta programming a script file that is to be run on an ssh which runs one instance of matlab for each script. The for loop ...

1 year ago | 1 answer | 0