Info

此问题已关闭。 请重新打开它进行编辑或回答。

here it is!!!!

1 次查看(过去 30 天)
Guitarist Pandey
Guitarist Pandey 2017-2-10
关闭: MATLAB Answer Bot 2021-8-20
Write a function named custom_blocks that takes an n-by-m matrix as an input argument (the function does not have to check the format of the input) and returns a 2n-by-2m matrix as an output argument. The upper left n-by-m sub matrix of the output matrix is the same as the input matrix. The elements of the upper right n-by-m sub matrix are twice as large as the corresponding elements of the input matrix. Similarly, the lower left submatrix is the input matrix multiplied by three and the lower right n-by-m submatrix is four times the input matrix.
  1 个评论
James Tursa
James Tursa 2017-2-10
What have you done so far? Please post your current code and ask specific questions about it and we can help.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by