Having more than one sample question in your test suite would be helpful, Minhaj, if only to prevent "answers" like this one.
Matrix indexing with two vectors of indices
528 Solvers
384 Solvers
422 Solvers
find whether it is prime or not
103 Solvers
1081 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!