Question


How can I create a rule to automatically fill blank cells during the table reading with readtable function?
Hi guys! I read a .csv file in matlab following this procedure: home -> importdata -> select my .csv file. Then I properly set ...

2 years ago | 1 answer | 0

1

answer

Question


How can I improve the readability of a text file produced with writetable?
Hi guys! I want to export a matlab table as .txt file by using the function writetable but I've the problem that the exported d...

2 years ago | 1 answer | 0

1

answer

Question


How to display the legend for data of an empty table (0 x 11)?
Hi guys, I've the need tho show the legend for an empty table in my plot. I try to explain better: I read two files, one conta...

2 years ago | 1 answer | 0

1

answer

Question


How to filter a table in matlab according to a condition on the elements of one or more columns?
I read a table from a .csv file, it contains 9 columns (the first two contain strings and the others numbers in double precision...

2 years ago | 1 answer | 0

1

answer

Question


How read the exact number of decimal digits with readtable from a .csv file?
Hi guys, I want to read a .csv file containing numbers with more than 17 decimal digits (I'm not sure of the exact number of t...

2 years ago | 2 answers | 0

2

answers

Question


How to ask to user if to run or not a part of code?
Hi guys, I'd like to show a GUI in which the user can select "yes" or "not" to reply to the answer "Do yo want to plot the 3D tr...

3 years ago | 1 answer | 0

1

answer

Question


How to extrapolate a level curve form a 3D plot of a 2-variables function?
Hi guys! I've a plot of a 3D function of 2 variables and I'm interested into extrapolating the curve that corresponds to CM=0 an...

3 years ago | 1 answer | 0

1

answer

Question


How to explicit a matlab equation by using the symbolic toolbox?
Hi guys, i want to obtain the expression of the velocity V of the following equation without solving the problem "by hand". I've...

3 years ago | 1 answer | 0

1

answer

Question


How to create and export a GIF with uifigure?
Hi guys, I've created and interactive geographic window in my code by using the following code: uif = uifigure; globe= geoglob...

3 years ago | 1 answer | 0

1

answer

Answered
How can I insert a uifigure in my livescript code?
Mystery solved! In the example livescript, the images and GIF are inserted as external files! However, thanks to everyone for ...

3 years ago | 0

Question


How can I insert a uifigure in my livescript code?
Hi guys, I d' like to insert a uifigure in my livescript as in the following image: The problem is that when I run the code...

3 years ago | 2 answers | 0

2

answers

Question


How can I uninstall matlab toolboxes?
Hi guys, I'm trying to uninstall the "Mapping toolbox" but I get the following error in the "product uninstaller" window: " The...

3 years ago | 1 answer | 0

1

answer

Question


What is the best way to arrange legends in a figure with 5 subplots?
Hi guys, I have a matlab figure with 5 subplots and I wish to arrange in the best way in order to make visible all the curves an...

3 years ago | 1 answer | 0

1

answer

Question


Integrate a ODE with anonymous functions
Hi guys, I'm trying to solve a ODE problem by using the ode45 solver that receives in input a matrix that is composed by anonymo...

3 years ago | 1 answer | 0

1

answer

Answered
How to import a column from an Excel file?
Another more rapid solution is to use “rmmissing” function to remove “NaN” values from an array.

3 years ago | 0

Question


How to import a column from an Excel file?
This is my excel file: Here I read the entire column A of the Excel sheet named "Lazy_eight" but the problem is that I have...

3 years ago | 2 answers | 0

2

answers

Question


How to add a little white space around the figures by using "print" command?
I wish add a few of white space around my .eps figure to avoid that overleaf (compiler: pdfLaTex) cuts it on one side as you can...

3 years ago | 1 answer | 0

1

answer

Answered
How to change 2D plot aspect ratio?
I've solved with the command: set(gcf,'position',[x0, y0, width, height]);

3 years ago | 0

| accepted

Question


How to change 2D plot aspect ratio?
Hi guys, I have to save matlab figures and import them into a LaTex project. I use the following command: print('-depsc2','-r60...

3 years ago | 1 answer | 0

1

answer

Question


What is the RGB code of tytle stile color in matlab .mlx file?
I want to reproduce this color in my LaTex document, where I've copied my matlab script and I need the RGB code of this sort of ...

3 years ago | 1 answer | 0

1

answer

Question


How to change color of imported geometry from .mat file?
Hi guys! The professor of flight dynamics course has given to me a code to plot an aircraft in a refernce system. I import in t...

3 years ago | 1 answer | 0

1

answer

Question


3D effect on bar diagram
Is it possible to obtain the 3D effect on bar diagram as shown in the following figure (obtained by Microsoft Excel)? P.s. I'...

4 years ago | 1 answer | 0

1

answer

Question


Atmosisa function does not work!
Hi guys, I've a problem with the Aerospace toolbox function "atmosisa". When I try to run it, the following errore message appea...

4 years ago | 1 answer | 0

1

answer

Question


How to move y-axis number on the left side ?
I want to have y-axis numbers on the left side of the axis itself in such a way that they don't overlap the straight line. Any...

4 years ago | 1 answer | 0

1

answer

Question


How to extend a curve until x-axis and y-axis
Hi guys! I've plotted the red curve through a set of data (.txt file of points): How can I extend the red curve untile axes o...

4 years ago | 2 answers | 0

2

answers

Question


Problem of measure unit conversion
Hi to everyone! I would convert an area from square meters to square feet. Does a function similiar to "convlenght" exists ?

4 years ago | 1 answer | 0

1

answer

Question


How to plot a magnification inside a figure
Hi guys! I've a plot in which I've drawn 2 functions and I want to magnificate the portion circled in red in figure below: ...

4 years ago | 1 answer | 0

1

answer

Question


How to solve a plotting problem regarding straight lines
How can I make the two lines meet in their intersection point as shown in the figure below ? (I want to obtain the two lines ...

4 years ago | 1 answer | 0

1

answer

Question


How to smooth an airfoil given through a set of points ?
Hi everyone! I've written a simple code to study an airfoil geometry. The problem arises when I try to zoom in the leading edge...

4 years ago | 2 answers | 0

2

answers