Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Create the following matrix A (matlab)

  1. Feb 8, 2012 #1
    A =
    1 2 3 4 5 6
    7 8 9 10 11 12
    13 14 15 16 17 18

    Create a six-element row vector named hc that contains the first three elements of the second row of A and the last three elements of the third row of A

    If i start with hc=a(

    What should i do next?
     
  2. jcsd
  3. Feb 8, 2012 #2

    HallsofIvy

    User Avatar
    Science Advisor

    What are "the first three elements of the second row of A"?

    What are "the last three elements of the third row of A"?
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook