显示 更早的评论
for n=1:length(theta_o)
AF(n,:)=1/N*(sin(...
end
here please explain AF(n,:) means
采纳的回答
更多回答(1 个)
Shivani Dixit
2021-6-1
0 个投票
With reference to selecting elements from a matrix ':' refers to selecting the elements from starting index to ending index. In the code AF(n,:) means selecting the nth row and all the columns. Basically it means selecting full n'th' row.
For more information you can have a look at :
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!