Jide Williams
Followers: 0 Following: 0
Feeds
提问
Any CLUE on how to use elliptic integral function (ellipke) in MATLAB to find the length in the equations below: ANY DIRECTION OR CLUE WILL BE GREATLY APPRECIATED. THANKS
Where LU = 0.43, and a = 3.37
3 years 前 | 0 个回答 | 0
0
个回答已解决
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 前
已解决
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 前
已解决
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 前
提问
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 前 | 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...
5 years 前 | 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...
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 前 | 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 years 前 | 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...
6 years 前 | 0 个回答 | 0
0
个回答提问
Hello. Please how does Euclidean distance between many points (xi, yi) works if I have 5 points for example, there should be 10 distances right? but using pdist(X) function does not return 10 distances. What am I doing wrong? Thanks
pdist(X);
6 years 前 | 1 个回答 | 0
1
个回答提问
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(...
6 years 前 | 1 个回答 | 0
1
个回答提问
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...
6 years 前 | 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...
6 years 前 | 0 个回答 | 0