How to bring signals of uneven sizes to the same size?
1 次查看(过去 30 天)
显示 更早的评论
I have 3 signals, size(x)=15001 size(y)=7500 size(z)=3751
and how to bring the sizes of all these three signals to 15000?
1 个评论
采纳的回答
更多回答(1 个)
Walter Roberson
2013-4-21
newx = interp1(linspace(0,1,length(x)), x, linspace(0,1,15000));
newy = interp1(linspace(0,1,length(y)), y, linspace(0,1,15000));
newz = interp1(linspace(0,1,length(z)), z, linspace(0,1,15000));
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!