how to store computed value in xlsx file???

I am calculating homogeneity by using following code
im=imread('abc.jpg');
I=nlfilter(rgb2gray(im),[3 3],'std2');
homogeneity = graycoprops(graycomatrix(I), 'Homogeneity');
disp(homogeneity);
values1 = {Entropy,Contrast,Energy,homogeneity}; headers1 = {'Entropy','Contrast','Energy','homogeneity'}; xlswrite('extract2.xlsx', [headers1; values1]);
but it is not stored in xlsx file so plz help me to store this value???

1 Comment

Hi Ajay,
why not? Using xlswrite is correct. Do you get an error? and yes, which one?
Titus

Answers (0)

This question is closed.

Asked:

on 20 Jan 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!