Community Profile

photo

Jeremiah Abimbola


Active since 2019

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


How to generate random points within 3d pyramid inside a cuboid
P1: (0.000000e+00, 0.000000e+00, 0.000000e+00) P2: (0.000000e+00, 1.000000e+00, 0.000000e+00) P3: (1.000000e+00, 1.000000e...

5 years ago | 0 answers | 0

0

answers

Question


How to find the normal to a hemisphere surface
How do i find the normal to a hemisphere surface with radius r = 6, and center point c = [2,1,3];

5 years ago | 1 answer | 0

1

answer

Answered
how to generate random points located on the surface of a hemisphere with its center at (2, 1, 3) and a radius of 6?
N=5000; r = 6; center = [2,1,3]; P = zeros(N,3) ; plot3(center(1),center(2),center(3),'ro') hold on for i=1:N x1 = ra...

5 years ago | 0

| accepted

Question


how to generate random points located on the surface of a hemisphere with its center at (2, 1, 3) and a radius of 6?
N=500; r = 6; center = [2,1,3]; plot3(center(1),center(2),center(3),'ro') hold on for i=1:N x1 = rand; x2 = rand;...

5 years ago | 3 answers | 0

3

answers

Question


Why does my rand function not seem to work?
limit = 0.3266; s = 0; counter = 0; while 1 tmp = rand; disp(tmp) if tmp == limit break end ...

5 years ago | 1 answer | 0

1

answer