Community Profile

photo

Alessandro Maria Laspina


Last seen: 1 day ago Active since 2019

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


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

3 days ago | 0 answers | 0

0

answers

Question


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

3 days ago | 1 answer | 0

1

answer

Question


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

4 days ago | 1 answer | 0

1

answer

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

2 months ago | 0 answers | 0

0

answers

Question


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

3 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 0 answers | 0

0

answers

Question


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

5 months ago | 0 answers | 0

0

answers

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

6 months ago | 1 answer | 0

1

answer

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

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

6 months ago | 2 answers | 0

2

answers

Question


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

7 months ago | 1 answer | 0

1

answer

Question


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

8 months ago | 0 answers | 0

0

answers

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 0 answers | 0

0

answers

Question


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

10 months ago | 0 answers | 1

0

answers

Question


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

10 months ago | 0 answers | 0

0

answers

Answered
%0.1x formatting not working for two digits (greater than 9)
Correct formatting should be %1.0f.

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

10 months ago | 1 answer | 0

1

answer

Question


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

11 months ago | 1 answer | 0

1

answer

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

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

11 months ago | 2 answers | 0

2

answers

Question


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

11 months ago | 3 answers | 0

3

answers

Question


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

1

answer