ファイルの指定範囲の読み取りとカラーマップ表示

下記のようなtxt形式のファイルを読み取り、任意の行と列から数値を読み取り、
4×4ピクセルのカラーマップを表示するような機能をもつプログラムを作りたいです。
この場合はどのようなプログラムを参考に作ればよいのでしょうか?
%読み取りファイル
5 5 5 5 5 5
0 0 0 0 0 0
1 2 3 10 0 0
1 2 3 10 0 0
1 2 3 10 0 0
1 2 3 10 0 0

1 Kommentar

Kojiro Saito
Kojiro Saito am 27 Sep. 2020
4×4のカラーマップを表示するとは、例えば読み取ったデータの行と列の値を使って色を付けて可視化したい、ということでしょうか?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 24 Sep. 2020

Kommentiert:

am 27 Sep. 2020

Community Treasure Hunt

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

Start Hunting!