# MATLAB program

Not what you're looking for?

This is my Matlab program so far:

>>clc

>>clear

>>r=input('Wheel radius?');

>>s=4*pi;

>>theta=s/r;

>>p=2*pi*r;

>>t=0:2*pi:4*pi;

>>plot(t,theta)

>>title('Translational & Rotational Velocity Plot')

>>xlabel('Independent variable')

>>ylabel('Wheel displacement')

I have started and I think I'm getting close to running - the plot will not display though - where is the glitch? Thanks in advance. I have also attached a Matlab wheel for your reference.

##### Purchase this Solution

##### Solution Summary

This solution addresses the glitch in the provided computer program. By using the MATLAB wheel as a reference, and knowledge of how thetas work within the program, the answer is resolved.

##### Solution Preview

Hi,

From your code, I see that you are calculating theta only once. Try to use ...

##### Purchase this Solution

##### Free BrainMass Quizzes

##### Architectural History

This quiz is intended to test the basics of History of Architecture- foundation for all architectural courses.

##### Air Pollution Control - Environmental Science

Working principle of ESP