MATLAB Answers


how to work with trees?

Asked by Itzik Ben Shabat on 1 Nov 2012

Hi, so i have a BW pixel image (number of pixels is in powers of 2). what i want to do is represent it in a quadtree. so i found ntree() (where i define the order and depth of the tree. now what i want to do is store data (1,0 depending on the color) in the tree nodes. how do i do this ? thanks


Log in to comment.

0 Answers

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!