uthow can i code for. accelaration when velocity and time is given in the spread sheet.
3 views (last 30 days)
Show older comments
this is data of velocity and time please help me out in coding for acceleration.
0 Comments
Accepted Answer
Arif Hoq
on 21 Feb 2022
A=readmatrix('udds.xlsx');
sqr=A(:,1).^2;
acceleration=sqr./A(:,2); % acceleraiton= v^2/t ; accelration for each time
whole_acceleration=sum(sqr)/sum(A(:,2)) % acceleration for all data
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!