How should I fix the error to make it function?
magic(2) + magic (3)

 채택된 답변

Walter Roberson
Walter Roberson 2022년 2월 17일

0 개 추천

imresize(magic(2), [3 3]) + magic(3)
ans = 3×3
8.6335 2.9306 9.2276 5.5000 7.5000 9.5000 8.3665 12.0694 3.7724
padarray(magic(2), [1 1], 'post') + magic(3)
ans = 3×3
9 4 6 7 7 7 4 9 2
magic(2) + imcrop(magic(3), [1 1 1 1])
ans = 2×2
9 4 7 7

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기

질문:

2022년 2월 17일

댓글:

2022년 2월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by