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] Related SolutionsMATLAB: How to make a code that will count the number of times the sign changes succesively through an array pos = DAX>0; changes = xor(pos(1:end-1),pos(2:end)); num = sum(changes) MATLAB: Comparing two separate for loops Use intersect():Z =[0.0024 0.0019 0.0015 0.0012 0.0010 0.0007 0.0005 0.0003 0.0002]Y =[0.0031 0.0024 0.0019 0.0015 0.0012 0.0010 0.0007 0.0005 0.0003 0.0002]X = intersect(Z, Y) Related QuestionSmoothing a noisy signalCreating array from 1.e-20 to 1, with steps 1.e-19, 1.e-18..How to separate signals with diffrent frequencies1.0e+02 *Fourier analysis of waveforms and clipping wave, HELP PLEASE!!!For loope small increments
Best Answer