rotate a window about 45 degree

hi I have a 3*3 window for example: [1 1 0; 1 0 1; 1 1 0] . after rotation I want a shape like a rhombus.. is there any way? thanks

Asked:

on 4 Sep 2014

Answered:

on 4 Sep 2014

Community Treasure Hunt

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

Start Hunting!