photo

Gaetano Pavone


Last seen: 2 months ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


create cell from array with specified size
Hello, Let mymatrix a 24x1 double, how is it possible to obtain a group as specified_sizex1 cell? For example: mymatrix=[1:24...

5 months ago | 3 answers | 0

3

answers

Question


Surf plot of minimum values of four matrices
Hello, I have the following 4 matrices: ZCV=[1 2 1 2;6 5 2 8;3 5 9 4; 11 2 0.5 6]; % yellow surf ZBTmod=[5 2 9 4;1 2 0.2 9;10 ...

1 year ago | 2 answers | 0

2

answers

Question


Find minimum among matrices with different sizes
Hello, I have two matrices: A=[2 8 4; 7 3 9] and B=[1 3 5]. I want to compare A and B for finding the minimum values such that ...

1 year ago | 1 answer | 0

1

answer

Question


Finding row index in a matrix in which the sum of the elements is greater than 1
I have the following matrix: S=[1,0,0;0,1,0;1,1,0;0,1,1;0,0,1] I want to find row indexes in which the sum of the elements is ...

1 year ago | 2 answers | 0

2

answers

Question


Create dir using greek symbol
How can I create a dir whose name includes \Delta?

2 years ago | 1 answer | 0

1

answer

Question


Extract element from a table
I have a 56x4 table in which first column collects strings, while the other columns have non-null number. edgetable=table(edget...

2 years ago | 1 answer | 0

1

answer

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

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

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

3 years 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'] ...

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

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

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

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

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

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

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

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

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

4 years 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?

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

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

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

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

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

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

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

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

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

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

4 years ago | 1 answer | 0

1

answer

Load more