image thumbnail

Accurate Modeling in Simulink

by

 

03 Nov 2006 (Updated )

These files accompany the November 2006 article in MATLAB Digest

modeling_discontinuites.m
%% modeling discontinuities

%% Plot the brake force

figure('Name','ABS Brake Force','NumberTitle','off');
axes
plot(Fbrake.Time,Fbrake.Data)
title('Brake Force')
ylabel('Force(slugs)');
xlabel('Time(secs)')
grid on

%% Plot the brake force shifted

figure('Name','ABS Brake Force','NumberTitle','off');
axes
plot((Fbrake.Time-23)*1e6,Fbrake.Data)
title('Brake Force')
ylabel('Force(slugs)');
xlabel('Time(\musecs)')
grid on

Contact us