%% Divide Scalar by Array
% Create an array and divide it into a scalar.

C = 5;
D = magic(3);
x = C./D

% When you specify a scalar value to be divided by an array, the scalar value expands into an array of the same size, then element-by-element division is performed.
% Copyright 2012 The MathWorks, Inc.