how to make a row matrix from matlab generated data.

10 views (last 30 days)
Hi all,
I have a matlab code that outputs the reselts in the form of s(:,:,1) = 'value' , s(:,:,2)='value' , s(:,:,3)='value' and so on.
Now, I want to combine all these " S " to form a single row matrix or a single column matrix.
thanks...
  2 Comments
SATYA BHATT
SATYA BHATT on 22 Feb 2019
I am doing it for mXn matrix ( user defined)
for a 2X6 matrix input ,
size(s) shows
ans=1 1 2

Sign in to comment.

Accepted Answer

Jos (10584)
Jos (10584) on 22 Feb 2019
reshape(S,1,[]) % row vector

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!