how can i make a 400x400 matrix to 400x1

조회 수: 3 (최근 30일)
Joydeb Saha
Joydeb Saha 2022년 2월 7일
답변: Matt J 2022년 2월 7일
how can i make a 400x400 matrix to 400x1? in matlab

답변 (1개)

Matt J
Matt J 2022년 2월 7일
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

카테고리

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