uthow can i code for. accelaration when velocity and time is given in the spread sheet.

4 vues (au cours des 30 derniers jours)
this is data of velocity and time please help me out in coding for acceleration.

Réponse acceptée

Arif Hoq
Arif Hoq le 21 Fév 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
whole_acceleration = 3.1922e+04

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Tags

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by