To add rows and columns in the start and at the end for a matrix

3 views (last 30 days)
Amjad Iqbal
Amjad Iqbal on 10 Oct 2021
Commented: Amjad Iqbal on 10 Oct 2021
Dear Researchers,
I need guidance to add rows and columns of ones/zeros in a marix.
i.e matrix should be 13642 * 25295, and matrix I obtained after some processing is now 12251 * 25293.
Now, I need to add lets suppose half of missing rows in start and half missing rows at the end, the same for columns.
Please guide me in this context, your suggestions will be highly appreciated. Looking forward to receive comments on it.

Accepted Answer

Matt J
Matt J on 10 Oct 2021
  3 Comments
Amjad Iqbal
Amjad Iqbal on 10 Oct 2021
Yeah, i got the spectrum, thanks a lot for your kind suggestions. it helps.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!