classdef CarAnalyzer
methods
function velocity = initialVelocity(theCar)
velocity = theCar.velocity;
end
function position = initialPosition(theVehicle)
position = theVehicle.position;
end
end
end
classdef CarAnalyzer
methods
function velocity = initialVelocity(theCar)
velocity = theCar.velocity;
end
function position = initialPosition(theCar)
position = theCar.position;
end
end
end