spatially caching data content

I got the assignment at school to make a spatially caching ICN simulation in matlab. with a description of the simulation:
_ _ _ _ *-there is data content with binary name '101' -there are 3 routers with binary names (A) '111', (B) '100, and (C)' 011 '
if the hash value is 1 then the content will be cached on the router whose first bit is worth 1 too (the content will be cached in the A and B table)
if the hash value is 2 then the content will be cached on the router whose first two bits are the same as the content name (content will only be cached on router B)*____
can any of you help me to start how to arrange the code from the simulation above? or does anyone have a link about caching data in matlab? I am a new user in matlab. please help me

Answers (0)

Categories

Asked:

on 4 Nov 2018

Community Treasure Hunt

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

Start Hunting!