필터 지우기
필터 지우기

Matlab Script to choose data from a long long data file

조회 수: 1 (최근 30일)
chaos4u2
chaos4u2 2013년 3월 5일
I'm sorry if this has been answered before, but I would like to ask if somebody has this easy code that could help me to go faster in my work.
All I need, is a code to extract determined data from a huge file.
For example, suppose the file "THING" contains a matrix of 1000x3.
I want to get 1 data of each 4, so it's "THING_REDUCED"= 250x3 values.
How would you do it?
  댓글 수: 1
Matt Kindig
Matt Kindig 2013년 3월 5일
Can you post the first few lines of the data file, so that we know the format you are working with?
Also, how is the "1 data of each 4" defined? Do you just want every fourth row in the matrix, or do you want to find the mean of every four rows, or the minimum, or?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by