MATLAB: Increment a for loop by 1e-1

for loopMATLAB

im looking how to do a for loop that increments from .0001 then have .001 followed by .01 finally with .1 but i have having trouble formatting it.

Best Answer

Example:
for p = [0:.0001:1, 0:0.001:1, 0:0.01:1, 0:0.1:1]