I have recently gotten some help from a neighbor writing out some code for a simple simulation, I just need some help as to running the program from the octave command window, It was written in notepad ++
Here is the code:
dtheta = 1;
theta = [0:dtheta:180];
theta_rad = pi*theta/180;
Ma = -6*cos(theta_rad)*6 - 6*sin(theta_rad)*3;
plot(theta, Ma);
xlabel (theta);
ylabel (Ma);
I have it saved somewhere at C:/ programfinder/ physicsoptional.m
but what would I put into the octave window to get it to run?