Community Profile

photo

Jide Williams


Last seen: 2年以上 前 2018 年からアクティブ

Followers: 0   Following: 0

統計

All
  • Thankful Level 2
  • Solver
  • Thankful Level 1

バッジを表示

Feeds

表示方法

解決済み


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

3年弱 前

解決済み


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年弱 前

解決済み


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年弱 前

解決済み


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年弱 前

質問


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年 前 | 2 件の回答 | 0

2

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

回答済み
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年 前 | 0

質問


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年 前 | 2 件の回答 | 0

2

回答

質問


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年以上 前 | 0 件の回答 | 0

0

回答

質問


Hello, I am trying to plot circles and then get rid of the circles touching the axis as shown when you run my code. After this, I am trying to find the distance between these circles so as to know the circle that is farthest from the rest. THANKS
%generate random numbers %centers of circle x = rand(100,1); y = rand(100,1); centers = [x y]; radii = 0.05.*ones(length(...

5年以上 前 | 1 件の回答 | 0

1

回答

回答済み
Plotting multiple objects on same axis
Ok, Thanks

5年以上 前 | 0

質問


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年以上 前 | 4 件の回答 | 0

4

回答

質問


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年以上 前 | 0 件の回答 | 0

0

回答