Community Profile

photo

Gaetano Pavone


Last seen: 1 day ago Active since 2019

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


Intersection of two lines
Hi, I have four coplanar points P1, P2, P3 and P4 in 3d. I would like to calculate the intersection point among the line passing...

1 day ago | 1 answer | 0

1

answer

Question


Z-angle of a fit-plane having 4 points
Hi, how can I calculate the z-angle of the plane that best fits 4 points having their coordinates? Then, I would like to plot ...

14 days ago | 6 answers | 0

6

answers

Question


Remove specific edgelabels in the plot of a graph
I would like to remove specific edgelabels in the plot of a graph. In particular, edgelabels that do not satisfy some conditions...

6 months ago | 1 answer | 0

1

answer

Question


for loop with vectors having different sizes
I have the following problem: a=[1 2]; b=[3 4 5]; c=[6 7]; d=[8 9 10 11]; casetype='trial'; for activevector=[a' b'] ...

7 months ago | 3 answers | 0

3

answers

Answered
Programmatically define elements of a matrix
This is the solution: for i=1:size(nodes,2) nodestotal(:,i)=nodes(:,i); index1=(size(nodes,2)+1:size(nodes,2)-Vtype:t...

1 year ago | 0

| accepted

Question


Programmatically define elements of a matrix
I have the following code: cellnumber=6; Vtype=4; r=500; H=500; d=0.5*r; nodes = [0 0 r 0 -r 0 sqrt(2)*r/2 -sqrt(2)*r/2 -s...

1 year ago | 1 answer | 0

1

answer

Question


Create a 3*m matrix in app designer
I would like to define an editable 3*m matrix in app designer programmatically defined by users. Once defined the parameter m i...

1 year ago | 1 answer | 0

1

answer

Question


question to continue the code
I would like to create a code that creates a folder, verifies if it already exists and if it occurs asks the user if continue or...

1 year ago | 1 answer | 0

1

answer

Question


video duration and multiple sublots in a single video
I have the following modified demo code for creating video: Z = peaks; surf(Z); set(gca,'nextplot','replacechildren'); v...

1 year ago | 0 answers | 0

0

answers

Question


create video of position from matrix
I would like to plot the evolution of the positions of the nodes of my graph by extracting such informations from a matrix. I ha...

1 year ago | 1 answer | 0

1

answer

Question


uimenu for labelling according to elements in a vector
I have the following code: node = [100 -50 -50 -86.6025 0 86.6025;0 86.6025 -86.6025 50 -100 50;0 0 0 200 200 200]; edge = [1 ...

1 year ago | 1 answer | 0

1

answer

Question


join words for a title in plot
I would like to add a customized title to my plot: name='function'; x = 0:pi/100:2*pi; y = sin(x); plot(x,y) title(['Plot o...

1 year ago | 1 answer | 0

1

answer

Question


framed nodelabel in a graph
Is it possible to plot a graph with framed nodelabels? I would like to obtain nodelabels inserted in a square.

1 year ago | 1 answer | 0

1

answer

Question


plot graph with cylinder
Is it possible to plot a 3d graph by using a cylinders (or a tubes) instead of the default straight lines in Matlab?

1 year ago | 0 answers | 0

0

answers

Question


error graph with EdgeTable
I would like to plot a graph consistent with the connectivity properties written in 'edge' with a customized width of the edges....

1 year ago | 1 answer | 0

1

answer

Question


print with specified stylesheet and format in R2019b
I have a function createfigure.m which creates a figure. I would like to add the possibility of automatically save or print the ...

2 years ago | 1 answer | 0

1

answer

Question


scatter with custom color of point
I have a timetabel TT with 3 columns and 153424 rows: column 1 named Timewh1 column 2 named Var1_TTwh1hourclean column 3 nam...

2 years ago | 1 answer | 0

1

answer

Question


transform 5 minutes timeseries to hourly timeseries
I have a timeseries built with about 5 minutes time intervals among each observation. I would like to transform it in a hourly t...

2 years ago | 1 answer | 0

1

answer

Question


remove outliers form timeseries
I have an original timeseries ts and I would like to apply a filter for removing the outliers. In particular I define a percenti...

2 years ago | 1 answer | 0

1

answer

Question


Customize xtick in plot of timeseries
I have several timeseries, which start at Apr 2015 and conclude at Mar 2019, like this: I would like to plot each of them wit...

2 years ago | 1 answer | 0

1

answer

Question


create function to plot several timeseries
I have the following timeseries (only few rows are showed): I have plotted such timeseries and then, by using the "Generate C...

2 years ago | 1 answer | 0

1

answer

Question


recall updated vector from a loop
I have a column vector "displacement" with 18 elements, which is updated at every iteration (Nsteps) in a loop. I would like to...

2 years ago | 1 answer | 0

1

answer

Question


Simplify code with nested if
I have a matrix C in which every row contains dates and times. In the fourth column months are indicated as Jun, Feb, Mar, etc.....

2 years ago | 1 answer | 0

1

answer

Question


concatenate structs and then plot a specified column
I have the following folder, named Dati_Finali: Each mat file contains a single variable named dati_finali, see the following...

2 years ago | 1 answer | 0

1

answer

Question


Plot cell array starting from the second element
As reported into the image, i have a 356x1 cell named wave_heights. How can I plot the elements of the cell starting form the...

2 years ago | 1 answer | 0

1

answer

Question


Extract columns from matrices
I have a large number of .mat files, and each one contains three matrices named "matrx_1", "matrix_2" and "matrix_3" with differ...

2 years ago | 0 answers | 0

0

answers