I need to generate different block diagonal matrices like:
blkdiag(0,0,0, ... ,0,unit)
blkdiag(0,0,0, ... ,0,unit,unit)
.
.
.
blkdiag(unit,unit, ... ,unit,unit)
in say 100 iterates and evaluate them with unit being a m*m matrix. I generate the string of the argument in a loop, however function does not understand char input and I don't know what to do!
any help is appreciated ...