Hi there,
I have the following problem: 1. I read a dataset (no headers or strings) from excel in by xlsread. The first column is a date and the following 5 columns are numerical. The dataset contains 5 rows. With xlsread I get a 5×6 matrix.
2. What I want to do now is to run my function with the data of the first row. Save the solution in a csv file. Then matlab should take the second row of my data, run the function again and save it in the same csv. This routine should be performed until matlab reaches row 5.
3. The csv file should always contain the date, followed by the obtained solution from the function. That must be done for each row.
For simplicity the function could be "func = a+b+c+d+e"
How can I do it?
Thanks in advance boulala
Best Answer