Feeds
질문
How can I save indices of a circle without losing the circle shape?
Below is my code for first creating a circle of 1s in a zeros 100*100 matrix and then finding the indices of the points circle. ...
7년 초과 전 | 답변 수: 2 | 0
2
답변질문
I'm trying to put a circle into a matrix but it keeps coming back with a square, any ideas?
A=(1:100); B=(0:99)'+A; myCoordList=[]; for ix=1:100 for iy=1:100 hx=abs(rx-ix); hy=abs(ry-iy); H=hx^2+hy^2; i...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
How do I find an efficient way to create a matrix from an array
A=(1:100); B=[A;A+1;A+2;....;A+100]; I'd like to create a matrix B but would prefer a faster and more efficient method tha...
7년 초과 전 | 답변 수: 1 | 0
