Tracks are the same length but wont concatenate
Show older comments
Im still learning matlab and trying to make a small music editor, i want to combine two tracks but of course they need to be the same length but after converting them to the same size, it still doesn't work. When I Print the size of the tracks i get theses result, any help would be appreciated.
ans =
1 566272
ans =
566272 1
Accepted Answer
More Answers (1)
Chaya N
on 8 Dec 2016
1 vote
From your data given above, one of them is a row and the other is a column. They should both read 1-by-566272 OR 566272-by-1. Transpose one of them and then try concatenating.
2 Comments
Walter Roberson
on 8 Dec 2016
MATLAB uses the convention that columns correspond to channels.
Josh Reilly
on 8 Dec 2016
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!