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

3 views (last 30 days)
wataru suzuki
wataru suzuki on 24 Sep 2020
Commented: Kojiro Saito on 27 Sep 2020
下記のような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 Comment
Kojiro Saito
Kojiro Saito on 27 Sep 2020
4×4のカラーマップを表示するとは、例えば読み取ったデータの行と列の値を使って色を付けて可視化したい、ということでしょうか?

Sign in to comment.

Answers (0)

Categories

Find more on データのインポートと解析 in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!