Info

This question is closed. Reopen it to edit or answer.

Write a function centervalue(M) that returns the value of the central element of matrix M. You may assume that M has an odd number of rows and columns. Have centervalue call your function halfway. >> centervalue(magic(5))

1 view (last 30 days)
Plz help. Im not getting anything at all

Answers (1)

Walter Roberson
Walter Roberson on 20 Sep 2018

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!