photo

Ryan Bowman


Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Runge Kutta 4th Order Method
I have developed a 4th order runge kutta method that helps me find angular velocity of a rigid body. It should be displayed as a...

4 years ago | 4 answers | 0

4

answers

Question


How to find theta and theta dot in a simple pendulum simulation in MATLAB.
I am simulating a simple pendulum and trying to find the theta value and angular velocity value at a certain time. Here is my co...

5 years ago | 1 answer | 1

1

answer

Question


Using a while loop/iterative process to derive a function
I am trying to use Kepler's equation to derive a f where f is a function of E. Here is the problem statement. My code does n...

5 years ago | 1 answer | 0

1

answer

Question


For Loop is only running once
My for loop is only running one time and M_Star2 and M_Star should be a 1x41 matrix but it only comes out as one number. Here is...

6 years ago | 1 answer | 0

1

answer

Question


Integrating 2nd order differential equation with ode45
I'm trying to complete this assignment but I am having trouble with my code and I'm not sure why. Here is my assignment He...

6 years ago | 1 answer | 0

1

answer

Question


Calculating time component on a function
I have a function and I run it through a for loop a certain amount of times and every time I go through an iteration I want to c...

6 years ago | 1 answer | 0

1

answer

Question


Calculating values from a sequence with a for loop
I'm trying to to calculate the first 100000 values of the sequence a_n = (2.2*n-1)^2 (with n=1,2,3,4,...etc) with a for loop. I ...

6 years ago | 1 answer | 0

1

answer

Question


How to multiply part of a matrix with another matrix
I have these two matrices M1 and M2. I'm trying to multiply M1 with the first two columns of M2 element by element (while not us...

6 years ago | 1 answer | 0

1

answer

Question


How to solve system of 2nd order differential equations using ode45
I have three 2nd order differential equations with my initial conditions and I'm trying to use the ode45 function in matlab to s...

6 years ago | 2 answers | 0

2

answers

Question


How to use secant method to solve two equations
I would like to solve these two equations (with the help of using anonymous functions) using the secant method. 460cos(theta...

6 years ago | 2 answers | 0

2

answers

Question


How to format a text box annotation?
I have an annonation on my image in matlab but I'm trying to have it with green text, a black outline and a purple background. I...

6 years ago | 1 answer | 0

1

answer

Question


How to draw lines in between points that the user provides?
I have a picture uploaded to matlab where I have the user pick four points, then I shall have red lines that are made in between...

6 years ago | 1 answer | 0

1

answer

Question


Using Simpson's rule to integrate function
I have a function in which I'm trying to solve by integrating. I must use Simpson's rule with for loops to solve. This is what I...

6 years ago | 1 answer | 0

1

answer

Question


Error on user input/while statement
I'm trying to ask the user for an input which will be somewhere between 0 and 10. If the user doesn't enter a number between 0 a...

6 years ago | 1 answer | 0

1

answer

Question


How do l let the user re-enter input if the original input is unacceptable?
Everything works so far but I want to make my code so that the user can reenter the grade if he/she enters a grade too high or t...

6 years ago | 2 answers | 0

2

answers