# Alessandro Maria Laspina

**Statistics**

RANK**29,049**

of 250,407

REPUTATION**1**

CONTRIBUTIONS

**25** Questions

**3** Answers

ANSWER ACCEPTANCE **
48.0%
**

VOTES RECEIVED**1**

RANK

of 17,398

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 104,091

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

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

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

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

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

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

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

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

7 months ago | 0 answers | 0

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

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

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

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

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

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

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

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

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

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

11 months 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,...

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

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

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

12 months ago | 0 answers | 0

### 0

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

Correct formatting should be %1.0f.

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

12 months ago | 1 answer | 0

### 1

answerQuestion

How can I plot multiple 2d plots with a z value that changes the value of each line?

Hello, I have x, y and z data. I would like to plot x and y data for all different z values using plot, and vary each line colo...

1 year ago | 1 answer | 0

### 1

answerHow do you assign the number of cores via an ssh script?

I've tried running Walter Roberson's answer, but for some reason i've had to include maxNumCompThreads(6) in the script file at ...

1 year ago | 0

| accepted

Question

How do you assign the number of cores via an ssh script?

Hello, i have a batch script file that is run on an ssh with the following format: nohup matlab -nodesktop -nosplash -nodisp...

1 year ago | 2 answers | 0

### 2

answersQuestion

Inverse of a function gives different results than the negative function with fmincon

Hello, I have a function f(x) which I am trying to maximize. Following the suggestions on: Maximizing an Objective - MATLAB &...

1 year ago | 3 answers | 0

### 3

answersQuestion

What R does scircle1 refer to?

The scircle1 equation from the mapping toolbox has inputs in the form of latitude, longitude and R, which is defined as the arc ...

2 years ago | 1 answer | 0