2次元グリッドマップの作成方法と、各グリッドへのパラメーターの格納の方法を教えてください。
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ryo TAJIMA
le 15 Juil 2019
Réponse apportée : Etsuo Maeda
le 22 Juil 2019
2次元グリッドマップの作成方法と、各グリッドへのパラメーターの格納の方法を教えてください。
0 commentaires
Réponse acceptée
Etsuo Maeda
le 22 Juil 2019
"二次元グリッドマップ"、"グリッドへのパラメーター格納" という言葉の意味がよく分かりませんが、グリッドをつくり、各点にある値を持たせるということであれば、meshgrid関数など使えばよいかと思われます。
clear; close all;
m = linspace(1, 10, 5);
n = linspace(1, 10, 5);
% create grid
[X, Y] = meshgrid(m, n);
% create dummy intensity
C = rand(size(X));
% show pcolor
pcolor(X, Y, C)
HTH
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matched Filter and Ambiguity Function dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!