1. A method comprising: storing two-dimensional binary data in the form of high or low resistance states into a crossbar array with a programmable material layer; and transforming the two-dimensional binary data into one-dimensional analog data via the crossbar array.