At a minimum, you should make this problem variable. For example, find the element at the ith row and jth column and define i and j in the test cases, which are passed along with the function.
Duplicate each element of a vector.
518 Solvers
856 Solvers
5002 Solvers
Element by element multiplication of two vectors
268 Solvers
137 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!