find the first column of a 3x3 matrix

187 次查看(过去 30 天)
I have a3x3 matrix. I need the vector x to be the first column of the matrix. thank you
david

采纳的回答

Bish Erbas
Bish Erbas 2018-9-24
A = rand(3,3);
x = A(:,1);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by