CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2013
    Posts
    1

    vector to matrix MATLAB

    hi

    I am a newbie to programming.

    i have 12 vectors of size 1*150 (1 row 150 columns)

    i want to merge all these 12 vectors to a matrix of size 12 *150
    (12 row 150 columns)

    how should i do it?
    all vectors are of same size 1* 150 andAll of them have to join into a matrix of size 12* 150

    say vectors are (A1 A2 ... A12) TO a single matrix A(size 2 * 150)
    I AM USING MATLAB
    please do help

  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: vector to matrix MATLAB

    Quote Originally Posted by newbie193 View Post
    hi

    I am a newbie to programming.

    i have 12 vectors of size 1*150 (1 row 150 columns)

    i want to merge all these 12 vectors to a matrix of size 12 *150
    (12 row 150 columns)

    how should i do it?
    all vectors are of same size 1* 150 andAll of them have to join into a matrix of size 12* 150

    say vectors are (A1 A2 ... A12) TO a single matrix A(size 2 * 150)
    I AM USING MATLAB
    This forum is for Visual C++ programming questions, not MATLAB questions.

    Regards,

    Paul McKenzie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured