MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
Rescale the entries of a vector x so that it spams [a,b]. The new values should be linearly stretched into the new range.
x = [0 5 10]; a=0; b=1;
y = [0 0.5 1]
1 player likes this solution