Create aa difficult matrix in a loop
조회 수: 6 (최근 30일)
이전 댓글 표시
Hey all,
in general I dont have much problems creating a matrix with a loop, but I cant see the pattern here.
If loop is not the right answer here, maybe you could give me a hint for something else?
Thx !
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200183/image.jpeg)
댓글 수: 2
Jan
2019년 1월 4일
편집: Jan
2019년 1월 4일
There is no "if loop" in any programming language I know. You showed 3 different matrices. There is an infinite number of methods to create these 3 matrices with a certain number of input arguments. So what is the actual definition and what are the parameters for the 3 examples? There are some white and some light blue cells. Please do not let the readers guess the details.
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!