필터 지우기
필터 지우기

import multiple text file,my loop has a problem!?

조회 수: 2 (최근 30일)
Samaneh Arzpeima
Samaneh Arzpeima 2018년 6월 18일
편집: Samaneh Arzpeima 2018년 6월 18일
I have 71 dat file(site*dat), each has 8 columns and 100021 rows. The first 21 rows are headers that I don’t need. What I want to do is read all these files and visualize my data. I somehow make a loop and read these data, but in some points I get obviously outliers. I attached one of my graphs, curves drop down in some points. I also attached my codes, where I get 2 columns of each file, find the maximum and plot them. There should be some mistakes in my loop I guess, but I can’t figure it at all. Could anyone help me with this problem. Any hint will be appreciated
※I came to underrstand that this loop,found my first file's maximum for 5th loop,but from file 2 to 71th,the generated maximums got out of steps.

답변 (1개)

Yuvaraj Venkataswamy
Yuvaraj Venkataswamy 2018년 6월 18일
  댓글 수: 1
Samaneh Arzpeima
Samaneh Arzpeima 2018년 6월 18일
Thank you. I want to know where is the mistake in my code. I have got a very close graph with one I want,but the curve drops in some points suddenly, it supposed to be a smooth curve.

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

카테고리

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by