www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/DivideScalarbyArrayExample.m
%% 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.