Community Profile

photo

Emilio Pulli


Last seen: 3 days ago Active since 2021

Statistics

  • Thankful Level 2
  • First Answer

View badges

Content Feed

View by

Question


Save a matrix .mat in a specific folder with a variable name
I would like to save a matrix as a .mat file in a specific folder. The save function is located at the end of a for loop and, th...

24 days ago | 2 answers | 0

2

answers

Question


Create a matrix that has a vector in each cell
I need to create a matrix that has a vector in each cell and I need to save it as a .dat file in order to be opened by another M...

1 month ago | 1 answer | 0

1

answer

Question


Insert two text lines in the blank rows of a txt file
I have to insert two different text rows in the blank rows of the attached txt file. How should I proceed?

2 months ago | 1 answer | 0

1

answer

Question


Insert a header in a txt file
How can I insert a header in a txt file without deleting the contents and the format of the txt file? I would like simply to ins...

2 months ago | 1 answer | 0

1

answer

Question


Spline interpolation of input data
I would like to obtain a spline interpolation of the following input data contained in the attached txt file. I try to explain h...

2 months ago | 1 answer | 0

1

answer

Question


Write a well tabulated txt file
This is my code: v_cutin=2.5; v_cutout=15; v_rated=5.5; v=linspace(v_cutin,v_cutout,15); omega_rpm=linspace(1,600,200);...

2 months ago | 1 answer | 0

1

answer

Question


Add zero decimal digits in order to have all the elements of a matrix with same number of decimal digits
How can I add zero decimal digits to a number in order to have the same number of decimal digits in the numbers of a matrix? For...

2 months ago | 3 answers | 0

3

answers

Question


Insert blank cells in a matrix
How can I replace all the NaN values of a matrix with a blank space?

2 months ago | 1 answer | 0

1

answer

Question


Select only determined rows in a matrix
I have a matrix composed of 200 rows and I want to copy in another matrix one every 10 rows obtaining a final matrix of 20 rows....

2 months ago | 2 answers | 0

2

answers

Question


Plot of 2 matrix of same dimensions
If I have two matrixes of same dimensions, and I type: plot(A,B) The code automatically associates each row of matrix A to the...

2 months ago | 1 answer | 0

1

answer

Question


Creation of a legend of a graph with a for loop
I have a graph containing different curves obtained at different velocities and I need a legend linking each curve to the relati...

2 months ago | 1 answer | 0

1

answer

Question


Save figures with a variable name in a subfolder of current working folder
I want save figures with a name that is determined by the variables plotted and save them in a subfolder of current working fold...

2 months ago | 0 answers | 0

0

answers

Question


Why I cannot exit the for cycle with the "z" counter?
I want that if a certain condition is met the iterations inside the cycle where the condition is met ends and the external for p...

2 months ago | 1 answer | 0

1

answer

Question


Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 0-by-1
I am stack to this error anyone can help me please: "Unable to perform assignment because the size of the left side is 1-by-1 a...

4 months ago | 1 answer | 0

1

answer