could anyone please tell that what is the exact explanation for function ------> data = data(1:15000,2)'

1 view (last 30 days)
i am using this for some coding purpose but when i gave some values other then these values my code does not work properly.may be i am interpreting this statement in wrong way. so could anyone tell me correct meaning of this.

Accepted Answer

Thorsten
Thorsten on 28 Oct 2015
You select rows 1:15000 from column 2 of your data matrix and transpose it (using '), and store it in data. Before this operation, data is some N*M matrix with N at least 15000 and M at least 2, and after the assignment, data is a 1x15000 matrix.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!