Beginner Matlab project... function trouble. Instructions say "Create a sub-function that takes as input the x and y values of a closed polygon and calculates x and y values for a new polygon that has vertices at the midpoints of the input polygon. "
length(xclose) should be length(normalx) and this will work correctly. Too late, I know, because this referenced an assignment ...
plus de 7 ans ago | 0