Skip to content

calc_dimensions.m

Basic Information

  SYNTAX:  [xy_phys] = calc_dimensions(xy_pairs,scale_orig,scale)

  PURPOSE:  compute dimensions from units in scale drawing

  INPUT:
    xy_pairs = coordinates in scaled drawing (2 x npairs)
    scale_orig = coords of point in scaled drawing corresp. to phys origin
    scale = x/y multipliers of scaled drawing to give physical dimensions

  OUTPUT:
    xy_phys = coordinates of actual device

Dependencies