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

1 Ansicht (letzte 30 Tage)
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 Kommentar
Stephen23
Stephen23 am 17 Apr. 2017
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:

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Function Creation finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by