Filter löschen
Filter löschen

FILTER OUT ANNULAR DATA FROM MATRIX

1 Ansicht (letzte 30 Tage)
Bhowmik.U
Bhowmik.U am 6 Jul. 2018
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

Antworten (0)

Kategorien

Mehr zu Visual Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by