Azzera filtri
Azzera filtri

Dividing large area into small ones

7 visualizzazioni (ultimi 30 giorni)
aya
aya il 15 Set 2014
Risposto: Image Analyst il 15 Set 2014
Hello everyone I have an X by Y geographical area X=[0 400], Y=[0 300] what I want to do is dividing this area into sub areas let's say 8 equal areas but in mind that I want the code to be applied for any values of X and Y and sub areas thank you in advance

Risposte (1)

Image Analyst
Image Analyst il 15 Set 2014
If your "area" is actually a 2D matrix, you can use mat2cell() or just use regular indexing. See the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F for example code. Otherwise, why not just take X/8 and Y/8?

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by