フィルターのクリア

FILTER OUT ANNULAR DATA FROM MATRIX

1 回表示 (過去 30 日間)
Bhowmik.U
Bhowmik.U 2018 年 7 月 6 日
I have a 501x501 matrix, want annular data 20-150 Km about centre(251,251).. X=1x501; Y=1x501; z=501x501; X=X(:);and so on. made all columnar data X=1*251001; y=1X251001;Z=1x251001;
next found Eucledian Distance= EUCD=(X.*X +Y.*Y).^(0.5);
NOW, Z(EUCD>150)=NaN; Z(EUCD<20)=NaN;
F=[X Y EUCD Z];
F=F(~any(isnan(F),2),:);
tried to plot contourf (X,Y,Z')
getting square plot instead of circular
Pleas ehelp

回答 (0 件)

カテゴリ

Help Center および File ExchangeVisual Exploration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by