Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

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

quasi 3 anni fa | 0

Domanda


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

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

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

quasi 3 anni fa | 0

Domanda


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

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

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

circa 3 anni fa | 0

| accettato

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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 ?

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte