How to export RGB matrix values to a text file?

2 Ansichten (letzte 30 Tage)
Vikram
Vikram am 25 Okt. 2014
Kommentiert: Vikram am 26 Okt. 2014
Hi, I created 3 arrays (RGB) from a bitmap image. I want to export those arrays in a text file using export(DS,'file',filename,'Delimiter',delim). I am not sure how to use this function because the arrays created don't have a name that I can type as DS. My MATLAB knowledge is 2/10. I only know basics so please elaborate.

Antworten (1)

Jan
Jan am 26 Okt. 2014
Simply insert the name of your arrays instead of "DS".
  1 Kommentar
Vikram
Vikram am 26 Okt. 2014
I get that, but I cannot find the name of array. I just added an image and got 3 arrays for R,G and B without any name. They are just titled as val(:,:,1), val(:,:,2) and val(:,:,3).

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by