Hi all,

I need to write a matlab function file (in editor) for a cylinder.
The input values will be vectors containing the heights and radii of various different cylinders, and the outputs will be surface area, cross sectional area, and volume in a matrix.

I know how to write a function with singular inputs, but i can't get vector inputs to work.

Any help would be appreciated.