How to extract data from MATLAB code?
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
Selim Gullulu
2021-2-17
Hi,
if your initial matrix is M,
The new matrix,N can be created with:
N=M(105:381, : )
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Time Series 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!