question?please help me.

1 次查看(过去 30 天)
mina
mina 2013-3-2
What does this sentence in matlab? kvalue=zeros(size(data,1));
data word is a database.

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2013-3-2
编辑:Azzi Abdelmalek 2013-3-2
Example
data=[1 2 3;4 5 6]
n=size(data,1) % is number of rows of data
size(data,2) % is number of columns of data
zeros(n) %will create a nxn array of zeros

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by