I want to ask if I have a matrix for example : a=[1 2 3 ; 1 3 4 ; 4 5 7 ] and how to take only the first row that is [1 2 3]. thank you .
a(1,:)
This means (first row, all columns)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With