Question about buffer fuction that used in documentation of Monte Carlo ROC Simulation in Help Center
2 次查看(过去 30 天)
显示 更早的评论
When I was reading the example of the Monte Carlo ROC Simulation in Help Center of MathWorks. In the Loop Over Pulses section, there is a buffer function is use, which is
rcv_pulses = buffer(rcv_pulses(matchingdelay+1:end),size(rcv_pulses,1));
where rcv_pulses is a
matrix and matchingdelay equals 19. So, as far as I know the output of the new rcv_pulses is a also matrix with
matrix. But when I checked the code the rcv_pulses(matchingdelay+1:end) is a
vector, why after the buffer function, it again becomes a
matrix? Could anyone help me here and explain how this buffer function works here?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1338419/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1338419/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1338429/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1338419/image.png)
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Detection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!