"half circle" input force in half car model

2 visualizaciones (últimos 30 días)
Malcolm Holliman
Malcolm Holliman el 7 de Dic. de 2019
Respondida: arvind j el 30 de Mzo. de 2021
Hi. I'm trying to simulate a half car model as it passes over a obstacle. My problem is that the obstacle has the shape of a half circle. How do I optain this input force? How could I model this in simulink? Thank you

Respuestas (1)

arvind j
arvind j el 30 de Mzo. de 2021
A=1;
T=2*0.01;
f=1/T;
t=0:0.001:0.3;
idx=t<0.1 | t>0.11;
y=A*sin(2*pi*f*(t-0.1));
y(idx)=0;
yt=[t;y];
Use this and save it as .mat file. You can use signal editor to load the file and use it as a road input

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by