How to create for loop?
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
For example i have vector containing 1000 random vector so how do i create for loop that shows each of the 1000 elements between 0 and 0.3, between 0.3+ and 0.6, between 0.6+ and 1.
댓글 수: 0
답변 (1개)
madhan ravi
2020년 7월 13일
doc rand % please read it
댓글 수: 2
Dhruv Patel
2020년 7월 13일
madhan ravi
2020년 7월 13일
편집: madhan ravi
2020년 7월 13일
Use logical operator > , & <
doc >=
doc <
doc &
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!