Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
I find there is some problem with the importdata function import data, there is some data without negative character?What is the reason?
조회 수: 1 (최근 30일)
이전 댓글 표시
I find there is some problem with the importdata function import data, there is some data without negative character?What is the reason?
The below is the code:
clc;clear all;
filec=importdata('xcood-020.txt');
data(:,1)=filec.data;
please see the data file attached. How to deal with it ?
댓글 수: 0
답변 (1개)
Image Analyst
2020년 7월 5일
I don't know. I think maybe all the minus signs in the string on each line might be confusing it. Try readmatrix:
data = readmatrix('xcood-020.txt')
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!