Striped periodic minimizers of a two-dimensional model for martensitic phase transitions