Enlarge vector by putting average of surrounding numbers in between of every number of original vector
1 次查看(过去 30 天)
显示 更早的评论
How to make a longer vector by adding an additional element between neighboring elements in the original vector. Each new element should equal the average of its neighboring elements. x = [0 2 3 2 1 -1]
3 个评论
采纳的回答
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!