4.11. create a diagonal matrix Handwritten Notes | R Programming BDS | TU | TABFlux