Community Profile

photo

Jide Williams


Last seen: oltre 2 anni fa Attivo dal 2018

Followers: 0   Following: 0

Statistiche

All
  • Thankful Level 2
  • Solver
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Risolto


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

quasi 3 anni fa

Risolto


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 ...

quasi 3 anni fa

Risolto


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...

quasi 3 anni fa

Risolto


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:...

quasi 3 anni fa

Domanda


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...

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Risposto
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...

circa 5 anni fa | 0

Domanda


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...

circa 5 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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(...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Risposto
Plotting multiple objects on same axis
Ok, Thanks

oltre 5 anni fa | 0

Domanda


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...

oltre 5 anni fa | 4 risposte | 0

4

risposte

Domanda


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...

oltre 5 anni fa | 0 risposte | 0

0

risposte