How can I repeat this driving cycle using simulink ?

2 views (last 30 days)
Hi !I have already done the this part using matlab code using the code Time_interp = (Time(1):Ts:Time(end))';%1 driving cycle Speed_interp = (interp1(Time,Speed,Time_interp));%1 driving cycle Speed = repmat(Speed_interp,floor(t_end_opt/Time_interp(end)),1);%repeated no.of driving cycle Time = (0:Ts:length(Speed)*Ts-Ts)'; Now i want to implement this part in simulink .

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!