Matlab NxN矩阵赋值问题!

如图,怎么循环?

A = zeros(N+1, N+1);

for i=1:N+1
    for j=1:N+1
        A(i,j) = rho(abs(i-j));
    end
end

温馨提示:答案为网友推荐,仅供参考
相似回答