Community Profile

photo

Jide Williams


Last seen: 2 years ago Active since 2018

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • Solver
  • Thankful Level 1

View badges

Feeds

View by

Solved


Add two numbers
Given a and b, return the sum a+b in c.

3 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Question


storing fprintf as an array.
The outcome of the code below gives H T H T T depending on random function. How do I store the outcome of the 20 iterations into...

4 years ago | 2 answers | 0

2

answers

Question


Function for Compliance Matrix
I want to know what I am doing wrong with these codes function y = Sbar(S,theta) %Sbar This function returns the transformed r...

4 years ago | 1 answer | 0

1

answer

Answered
Radius of Curvature Array
the code isn't wrong xinput = x(i), x(i+1), x(i+2); and y(i), y(i+1), y(i+2); it just that its not looping all through the 77 po...

5 years ago | 0

Question


Radius of Curvature Array
The code generates radius of curvatures for three points(coordinates x1,y1 x2,y2 and x3,y3. However, i have a set of coordinates...

5 years ago | 2 answers | 0

2

answers

Question


Hi, I am trying to develop an algorithm that will plot random disc(circles) in square axis and then find the probality of isolated circles, i.e circle(s). Although the code worked but I am unsure its right if you look at the probability.
r = 0.05; a = 1-r; b = r; nc = 50; x = (a-b) .*rand(nc,1) + b; y = (a-b) .*rand(nc,1) + b; centers = [x y]; radii = r.*on...

5 years ago | 0 answers | 0

0

answers

1

answer

Answered
Plotting multiple objects on same axis
Ok, Thanks

5 years ago | 0

Question


Plotting multiple objects on same axis
I am new to MATLAB but I am trying to plot multiple circles on the same axis. I am using rand function to generate the centers b...

5 years ago | 4 answers | 0

4

answers

Question


What is percolation algorithm
Hello, can someone help with codes for 'percolation' algorithm. Using discs in the N*N grid. I do not mind any type of algorith...

5 years ago | 0 answers | 0

0

answers