How to insert data into matrix form?
显示 更早的评论
For example I have data in row matrix from a for loop for each element,
for i=l:3
k11(i)
k12(i)
k21(i)
k22(i)
end
I cant seem to transfer this data to 3 2x2 matrix with the relevant data. I am coding
x=1:3
k(x)=[k11(x) k12(x) etc in matrix form.
Error says
In an assignment A(I) = B, the number of elements in B and I must be the same.
Any help? Thanks
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!