Try out this test problem first.
Given the variable x as your input, square it by two and put the result in y.
Examples:
Input x = 2 Output y is 4
Input x = 10 Output y is 100
582 Solvers
Convert a vector into a number
442 Solvers
301 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
230 Solvers
Matlab Basics - Logical Tests I
138 Solvers
Problem Tags