function sampleReadings = ShiftValues(sampleReadings)% sampleReadings: Array containing 3 elements
% Write three statements to shift the sampleReadings array contents 1 position to the left
% Note: The rightmost element should be -1
sampleReadings = ShiftValues(1:3)end
MATLAB: I need help with shifting the values
shifting values
Best Answer