zeros matrix
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to create vector of n by n zeros matrix from 1:k. How I can do. Plz help
댓글 수: 0
채택된 답변
Sean de Wolski
2012년 2월 3일
Huh?
doc zeros
Maybe:
zeros(n)
or
zeros(n,n,k)
댓글 수: 3
Image Analyst
2012년 2월 3일
If that works, then we call that a 3D array, not a vector. I'd also call it a 3D matrix but I think some, like Steve Lord, consider a matrix as exactly 2 dimensions, no more and no less.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!