how can i make a 400x400 matrix to 400x1

1 Ansicht (letzte 30 Tage)
Joydeb Saha
Joydeb Saha am 7 Feb. 2022
Beantwortet: Matt J am 7 Feb. 2022
how can i make a 400x400 matrix to 400x1? in matlab

Antworten (1)

Matt J
Matt J am 7 Feb. 2022
Many ways, e.g.,
sum(rand(400),2)
ans = 400×1
195.9990 187.9329 202.8237 202.9344 191.2276 202.7733 202.5645 197.4785 192.7097 201.8075

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by