find the first column of a 3x3 matrix

371 visualizzazioni (ultimi 30 giorni)
I have a3x3 matrix. I need the vector x to be the first column of the matrix. thank you
david

Risposta accettata

Bish Erbas
Bish Erbas il 24 Set 2018
A = rand(3,3);
x = A(:,1);

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by