Info

此问题已关闭。 请重新打开它进行编辑或回答。

combining matrixes into 3d vector

1 次查看(过去 30 天)
Giovanni
Giovanni 2013-12-12
关闭: Walter Roberson 2013-12-12
Hi i have a function with a for loop. When I run it produces say 5 matrices with the same number of columns but different number of rows. How do i concatenate this 5 matrices into a 3d vector?? Please this is not me being lazy i have written all the code to produce this matrices i am just stuck in this part!
  3 个评论
Giovanni
Giovanni 2013-12-12
Any method is fine, as long as i can make the 3D matrix. Currently i have the following,
function [Plotavg] = Plotavg( niterations,iterations,T,A,B,interval)
for n=1:niterations vector = Arraylinspace(iterations, T, A, B, interval) end
end
which produces say 4 vectors with the same number of columns but different rows. Then how would i concatenate them?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by