how can i use this code newdata = [column1,column2]; csvwrite('​yourfile',​newdata) in a FOR LOOP.?

How to use the below code in a for loop. I want to generate 3 data files using the figures obtained. I have the code for just one file. How to use it in FOR LOOP.
newdata = [column1,column2];
csvwrite('yourfile',newdata)
Thanks in advance.

댓글 수: 1

Well, this has been explained many times before on this forum, and you can easily search this forum using the big "Search Answers" field at the top of this page. You should start by reading this:

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

질문:

2017년 4월 17일

댓글:

2017년 4월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by