R/generate.R
feature_vector_to_matrix.Rd
This function takes in a feature vector and the number of notes, and returns a matrix. Each note is a row of the matrix.
feature_vector_to_matrix(vec, num_notes)
A vector of features. The length of the vector must be divisible by the number of notes.
An integer specifying the number of notes. This would be the number of rows in the returned matrix.
A matrix with num_notes rows and length(vec)/num_notes columns.