Matlab 中动态矩阵的表达。
2 views (last 30 days)
Show older comments
果博厅游戏网址【微8785092】
on 17 May 2023
Answered: 果博东方注册网站【微8785092】
on 17 May 2023
求大佬帮忙!!!!
已知第i行的权值表达为: c_weight={i*rand(8,6);i*rand(8,6);i*rand(8,6)}; %w(i|k)
如何用MATLAB表达出整个权值序列:W_k=[w(1|k)
w(2|k)
w(3|k)
……
w(N|k)]
0 Comments
Accepted Answer
果博东方注册网站【微8785092】
on 17 May 2023
N=4;
for i=1:1:N
c_weight={i*rand(8,6);i*rand(8,6);i*rand(8,6)};
w{i}=c_weight;
end
% 所有数在c中
% w(i|k)就是w{i}
% w(i|k)中第n个矩阵就是w{i}{n}
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!