Error using *
Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the second matrix. To perform elementwise multiplication, use '.*'.
Error in your_fcn_name (line 2)
y = 'peak'*'duty'
Error in Test1 (line 4)