Clear Filters
Clear Filters

question?please help me.

1 view (last 30 days)
mina
mina on 2 Mar 2013
What does this sentence in matlab? kvalue=zeros(size(data,1));
data word is a database.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 2 Mar 2013
Edited: Azzi Abdelmalek on 2 Mar 2013
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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!