Converting to g

4 Comments

@Nina Perf, please write a few complete sentences describing everything you need. @Walter Roberson gave you a very nice and correct answer to your question, and suddenly your question is about plotting, and not converting.
What do you need?
Also, is this homework?
@Walter Roberson: how does dividing 4333 potrzebies per second squared by 9.80665 help?
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

%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')

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!