Feeds
질문
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...
거의 7년 전 | 답변 수: 0 | 0
0
답변질문
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];
거의 7년 전 | 답변 수: 1 | 0
1
답변답변 있음
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...
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...
거의 7년 전 | 0
| 수락됨
질문
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;...
거의 7년 전 | 답변 수: 3 | 0
3
답변질문
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 ...
대략 7년 전 | 답변 수: 1 | 0

