Community Profile

photo

Brian Peoples


Last seen: etwa 2 Monate ago
18 total contributions since 2019

Brian Peoples's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


Solve equations of Motion using Matlab ODE45
Solve the following set of equations of motion using Matlab ODE45: (m +m )x+m Lcos−m L2 sin+kx=01222 L + x cos + g sin ...

etwa 2 Monate ago | 1 answer | 0

1

answer

Question


I keep getting the error index exceeds the number of array elements(1)
roll = zeros(1,300); for i = 1:300 dice = 1 + ceil(11*rand(1)); end freeornah = roll+dice(i) freeornah = roll+dice(...

6 Monate ago | 2 answers | 0

2

answers

Question


Index exceeds the number of array elements (0).
clc clear all close all myDir = 'C:\Users\bpeoples\Downloads\SCANSNAPCODE_BDP\Numerical Comparison\Diffused Above, SV600 Ra...

11 Monate ago | 1 answer | 0

1

answer

Question


Removing Excess White from Binary Image
Hello-- So I have a binary image and I only want to remove white from specified areas, such as the corners. (These areas being...

11 Monate ago | 2 answers | 0

2

answers

Answered
Removing Excess White from Binary Image
This image is not binary by the way, but i would use bwareaopen(BW,250) to do it

12 Monate ago | 0

Question


Plotting A Matrix Using Surfc
Hello-- I am struggling an recieivng an error when I try to plot a matrix using surfc (in a function). I was wondering if any...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


How to numerically integrate a non-integer (using trapz)
In this case im trying to get F(i) with the given inputs: kp = -25 ki = 10 theta(i) = .314 or something thats not an integer ...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


How to change the value of a vector through sub functions
Hello- pretend: prisoner = 1:2 outcomes = [] bias = .25 choice = zeros(1,2) These are sub functions and I want to only cha...

etwa ein Jahr ago | 0 answers | 0

0

answers

Question


Don't know how to fix... Index in position 1 exceeds array bounds (must not exceed 1)
Hello-- I keep getting this error and i've tried to fix it for so long. it is occuring on lines between the lines specified bel...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Question


Don't know how to fix... Index in position 1 exceeds array bounds (must not exceed 1).
Hello-- I keep getting this error and i've tried to fix it for so long. it is occuring on lines between the lines specified bel...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Question


How to create a random number that is a percent of each element in a vector
Hello-- I was wondering if anybody could solve this simple roulette indexing/random number question i've been struggling with f...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Question


How to reference each element of a column vector in an if statement
I need to get AmountWon to reflect each element in the column vector spin. Everytime this runs I get AmountWon = 250000 because ...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Question


Can I make a functions input a counter variable for a for loop
So I have to make an input (SlotRounds) be used in a forloop within my function. The problem is at the same time i'm supposed to...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Question


While Loop Running forever (Draining Cylinder Question)
Hey, I'm stuck figuring out how to run the loop until h is just barely above 0. so I want to run the loop while h>0, but it is a...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Answered
Function With While Loop Help

mehr als ein Jahr ago | 0

Question


How to solve for dh in draining of a cylinder??
DRAINING OF A CYLINDER QUESTION So I was able to perform the while loop, but I am struggling on making a vector dh to watch the...

mehr als ein Jahr ago | 0 answers | 0

0

answers

Question


Function With While Loop Help
Hello-- So I need to calculate time, flow rate, height, and velocity of water exiting a cylindrical container until the cont...

mehr als ein Jahr ago | 2 answers | 0

2

answers

Question


While Loop Question (Ungraded)
F = [1,1] evensum = zeros(1,4000000); while F < 4000000 if F == 1 evensum(1,F) = F; else evensu...

mehr als ein Jahr ago | 1 answer | 0

1

answer