How to process this text file containing multiple coordinates in Matlab
이전 댓글 표시
Linked above is the kaggle dataset of parkinson's coordinates I need to preprocess in order to put into DNN. I am speciically looking at the Drinking_all_export.txt text file but I could not attatch it because it is too large. Is there a way I can read this text file in matla and seperate the x coordinates and y coordinates into seperate arrays? Also is there a way to seperate it by each catergory(head position,Larm, Rarm, etc.). When I use importdata it puts all of the numbers into one array and doesn't seem to be the correct number either.
답변 (1개)
Walter Roberson
2023년 4월 20일
0 개 추천
댓글 수: 2
Sara K Takiguchi
2023년 4월 20일
Walter Roberson
2023년 4월 20일
S = fileread('Drinking_all_export.txt');
value = jsondecode(S);
카테고리
도움말 센터 및 File Exchange에서 JSON Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!