Having more than one sample question in your test suite would be helpful, Minhaj, if only to prevent "answers" like this one.
2268 Solvers
Find Out sum of principal diagonal element of given matrix
197 Solvers
234 Solvers
Finding an element in a vector
139 Solvers
144 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!