Any one give me the solution of this question or guide me how to solve this problem.
1 view (last 30 days)
Show older comments
Abdul Rehman on 25 Nov 2022
Commented: Abdul Rehman on 27 Nov 2022
Write a code to manually introduce zero padding in a 3*3 matrix. A 3*3 matrix, you have to generate the resultant matrix. You can assign any values to the input matrix. The black outline in the resultant represents the zero padded pixels while the remaining 9 (non zero) pixels must have the same values as assigned in the input 3*3 matrix.
KALYAN ACHARJYA on 25 Nov 2022
Edited: KALYAN ACHARJYA on 25 Nov 2022
Is this: Manually as asked for
Using function padarray
Find more on Image Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!