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!



