Name class object

IDNAMING-26
TitleThe class object name should be consistent within the entire class.
PriorityRecommended
Severity level8
DescriptionThe class object name should be consistent within the entire class. Choose a descriptive and relevant name.
RationaleThis increases the readability and maintanability of the code.

Avoid:

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

Instead use:

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