how to create loop or function of my problem/data

조회 수: 2 (최근 30일)
uncung fgv
uncung fgv 2012년 4월 27일
- i have Files with contains data (column and row)
- column 1 and 3, i need.
- to create plot of column 1 and 3
i have many files that contains like this.
recently, to create plot i have to go to my file and make plot one by one.
how to make my work easier?
  댓글 수: 1
uncung fgv
uncung fgv 2012년 4월 27일
i have many files.
usually, i process my file one by one.
how to work for bulk files?

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

채택된 답변

Daniel Shub
Daniel Shub 2012년 4월 27일
This has been asked so often it is FAQ 4.12
and if I don't say it, Jan will add
"And if you are reading a section of the FAQ, read the other sections also. It is very efficient to profit from the error made frequently by others."
  댓글 수: 7
uncung fgv
uncung fgv 2012년 5월 1일
hai daniel, you make me afraid. thx for sharing.
Daniel Shub
Daniel Shub 2012년 5월 2일
I wasn't trying to to make you afraid. Rather, I was trying to help you get a meaningful answer. As you said in a comment to the answer provided by Walter, you are not getting the answers/help you want. Please do not be afraid or feel we are cruel. Keep asking questions and we will keep trying to give you answers.

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

추가 답변 (1개)

Walter Roberson
Walter Roberson 2012년 4월 28일
Your existing question is still here and still active. Please do not ask duplicate questions; it just confuses people and splits efforts. Your two duplicate questions have been deleted.
  댓글 수: 4
Daniel Shub
Daniel Shub 2012년 4월 28일
@uncung You have asked 9 questions on answers, all but one has at least 1 answer, and you have only accepted 2 answers and have not voted for any of the answers. If an answer answers your question, accept it, if it is helpful at all, vote for it. If people ask you question in comments, answer them. Voting and responding to comments is really the only way to show you care about the work WE do for YOU.
uncung fgv
uncung fgv 2012년 4월 28일
because their answers were not what i want. i use the answers from YAhoo answer, for instance : how to find the appearance number of a number in a matrix etc.
and other question about interpolation, the answer no make sense.
or i consider wrong.
i wont vote it if doesnt solve my problem.
@Daniel, today i learn the site you gave me. wow, i spend my day from morning until night to learn a simple thing, such:
---
for k = 1:20
matFilename = sprintf('mat%d.mat', k);
--
i am failed at the first step, what on earth: 'mat%d.mat'????????
wow
i open books
google
books
ok i back do my old way, create plot one by one from files.
anyway THANX. sorry for the english!!!!!!!!!!!!!!!!

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

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by