Solved Matlab Question Please The Codes Should Function

Solved Matlab Question Please The Codes Should Function