add gravity in data.m file

This commit is contained in:
Adrien Jublan 2018-04-24 15:48:17 +02:00
parent 5022743549
commit c513eb8a13
2 changed files with 7 additions and 3 deletions

4
Data.m
View File

@ -1,6 +1,10 @@
run Assemblage_DataFile1.m run Assemblage_DataFile1.m
run Sample.m run Sample.m
%% Gravity
g = 0 ; % (m/s^2)
%% Translation stage %% Translation stage
ty = struct(); ty = struct();
ty.m = smiData.Solid(4).mass+smiData.Solid(6).mass+smiData.Solid(7).mass+smiData.Solid(8).mass+smiData.Solid(9).mass+4*smiData.Solid(11).mass+smiData.Solid(24).mass+smiData.Solid(25).mass+smiData.Solid(28).mass; ty.m = smiData.Solid(4).mass+smiData.Solid(6).mass+smiData.Solid(7).mass+smiData.Solid(8).mass+smiData.Solid(9).mass+4*smiData.Solid(11).mass+smiData.Solid(24).mass+smiData.Solid(25).mass+smiData.Solid(28).mass;

View File

@ -1,8 +1,8 @@
%% Sample Design %% Sample Design
rs = 0.1 % (m) sample radius rs = 0.1 ; % (m) sample radius
ls = 0.33007 % (m) sample lenght ls = 0.33007; % (m) sample lenght
ms = 50 % (kg) sample mass ms = 50 ; % (kg) sample mass
%% Sample position %% Sample position