zeros matrix
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to create vector of n by n zeros matrix from 1:k. How I can do. Plz help
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 3 Feb. 2012
Huh?
doc zeros
Maybe:
zeros(n)
or
zeros(n,n,k)
3 Kommentare
Image Analyst
am 3 Feb. 2012
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!