# Alessandro Maria Laspina

**Statistics**

RANK**28,437**

of 243,776

REPUTATION**1**

CONTRIBUTIONS

**21** Questions

**3** Answers

ANSWER ACCEPTANCE **
47.62%
**

VOTES RECEIVED**1**

RANK

of 17,054

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

**Content Feed**

Question

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

8 months ago | 0 answers | 0

### 0

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

Correct formatting should be %1.0f.

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

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

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

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

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

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