MATLAB Answers

Convert units to g

1 view (last 30 days)
Nina Perf
Nina Perf on 20 Sep 2021
Commented: the cyclist on 20 Sep 2021
Converting to g
  4 Comments
the cyclist
the cyclist on 20 Sep 2021
For the sake of anyone in the future, confused by the above interaction ... the question was edited, and some comments were deleted.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 20 Sep 2021
%need some data for demonstration
t = seconds(0:0.5:10);
y = randn(1, length(t));
%now do the work
y_g = y ./ 9.80665;
plot(t, y_g);
xlabel('t (s)');
ylabel('g')
  1 Comment
Nina Perf
Nina Perf on 20 Sep 2021
Thank you so much for your time!

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!