Demo entry 6626407

afa

   

Submitted by anonymous on Jun 24, 2017 at 23:13
Language: Matlab. Code size: 266 Bytes.

    if headway(i)<1 && speed(i)==speed(i-1)
        headway(i+1)=headway(i+1)+headway(i);
        count1=count1+1;
    else
        speed1(k)=speed(i);
        headway1(k)=headway(i);
        elapsed_time1(k)=elapsed_time(i);
        k=k+1;
        
    end

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).