Hi, how to create new variable and add data in excel using matlab ?

1 vue (au cours des 30 derniers jours)
Oman Wisni
Oman Wisni le 14 Oct 2018
I have 25 value from 25 variable. I already save it in excel. Here I have 175 data of image, so I need 175 rows for save the all value. I want to add it become one when run another image, here I have the code :
fitur= {area perimeter roundness solidity slimness rectangu NF RPD RPLW M1 M2 M3 M4 M5 M6 M7 mu deviasi energi entropi smoothness contrast homogenitas energi korelation};
xlswrite('fitur.xlsx',fitur,'input',strcat('A'));
The problem is how to save all value in excel without replace the first value in first row, and how to add variable name ? Do I use loop for it ? but I dont know how to declarad it.
this is what I mean, the first row I want the name of variable,and the second row I want save all value for 175 data from image.
I cant explain properly, but from image I attached I hope can understand. Thanks

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by