FILTER OUT ANNULAR DATA FROM MATRIX

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by