×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

convert vector to matrix matlab

convert vector to matrix matlab

convert vector to matrix matlab

(OP)
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

RE: convert vector to matrix matlab

(OP)
the final matrix has to be of size 12* 150 sorry for typo error there

RE: convert vector to matrix matlab

A = [A1; A2; A3; A4; A5; A6; A7; A8; A9; A10; A11; A12];

In general, this is far too simple a question to post to a forum. As an electrical engineer, it's surprising to be a "newbie to programming", and is unacceptable to not be able to read the Getting Started chapter of the MATLAB help. Consider the collective time of you posting, everyone reading, and my reply, compared to the gains you would achieve by reading the MATLAB help.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close