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

下記のような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 Commento

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

Accedi per commentare.

Risposte (0)

Categorie

Richiesto:

il 24 Set 2020

Commentato:

il 27 Set 2020

Community Treasure Hunt

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

Start Hunting!