Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Pulling two sets of numbers in two separate doubles into a new double
조회 수: 1 (최근 30일)
이전 댓글 표시
I have one 2x43 double called FaXY3. It contains two doubles, titles FaY3 and FaX2. FaY3 and FaX2 together create a set of coordinates, so if I have 1 in FaY3 it is only associated to 3.5 in FaX2. I made a random number generator that only pulls out random numbers out of FaY3, So I don't have numbers associated with FaX2 therefore losing my 'coordinate' set. How would I pull a random number out of FaY3 and the number associated with the place in the matrix out of FaX2 into a new double?
댓글 수: 1
답변 (1개)
Walter Roberson
2016년 1월 24일
Duplicates http://uk.mathworks.com/matlabcentral/answers/264964-random-number-selector-from-double#comment_337450 . The discussion goes there.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!