How i can write glcm features in matlab to excel sheet?

조회 수: 1 (최근 30일)
ahmad Al sarairah
ahmad Al sarairah 2019년 6월 17일
답변: Ramnarayan Krishnamurthy 2019년 6월 21일
I have calculated the glcm features (contrast ,homogeneity,energy,correlation), but how i can write only values of these features to excel sheet ?.
These values are in a table , and I want to write these values using xlswrite function in range (B2:E2), in other words i want to write (only stats values to this range) without column names or headers.

답변 (1개)

Ramnarayan Krishnamurthy
Ramnarayan Krishnamurthy 2019년 6월 21일
I would suggest using "writetable" and setting the "WriteVariableName" argument to false to accomplish this.
For example:
Assuming 'stats' is the output structure from "graycoprops" :
writetable(struct2table(stats), 'stats_glcm'.xlsx', 'WriteVariableNames', false)
HTH

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by