
All MATLAB codes were generated and used in MATLAB R2023b academic.

The four folders contain the profilometry scan results of the 3d-printed features at the printing pressure specified by the folder name, whereas the information of printing speed is included in filename. The last number in filename labels the sample number.

E.g., the data file "25K100M1" is gathered for printing pressure 25 kPa, printing speed 100 mm/min, sample #1. 

MATLAB code "calculate_width_height.m" is used to calculate the average width and height of one data file.


To run the program:

1) Open "calculate_width_height.m"

2) In MATLAB, go into one of the folder containing data files.

3) Change the filename in Line #6.

4) Run the code, the average width and height will show up in the command window. Units are in micrometer, um.


The Excel document, "Height and Width Data Summary.xls", lists the average width and height of each data file calculated by the MATLAB code.

