How to extract data from MATLAB code?
Show older comments
My data consists of 389 rows and 40 columns like (size(gather) 389 40). I want to extract 40 columns and rows from 105 to 381 (105:381) with new dimensions (size(gather) 276 40). How I can do it?
Accepted Answer
More Answers (1)
randerss simil
on 17 Feb 2021
%if true
A = rand(389,40)
iwant = A(105:381,:)
1 Comment
Nisar Ahmed
on 17 Feb 2021
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!