find the first column of a 3x3 matrix

371 vues (au cours des 30 derniers jours)
david edwards jr
david edwards jr le 24 Sep 2018
I have a3x3 matrix. I need the vector x to be the first column of the matrix. thank you
david

Réponse acceptée

Bish Erbas
Bish Erbas le 24 Sep 2018
A = rand(3,3);
x = A(:,1);

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by