| |
ID | LAYOUT-17 |
Title | Use correct spelling and punctuation in comments and write in complete sentences. |
Priority | Recommended |
Severity level | 7 |
Description | Use correct spelling and punctuation in comments and write in complete sentences, starting with a capital letter and ending in a period. |
Rationale | This increases the readability of code. Error-strewn and poorly constructed comments reflect on the code they accompany. |
% get sclaing factor
scaling_factor = new_z / current_z;
x_out = x_out * scaling_factor; % now recslaed
% Get the scaling factor.
scalingFactor = newZ / currentZ;
xOut = xOut * scalingFactor; % Now rescaled.