Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Help set up averaging

1 回表示 (過去 30 日間)
Lev Mihailov
Lev Mihailov 2020 年 7 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello! I cannot figure out the averaging function
B=rand(200,3000);
bp=maen(B,5) % need to average 5 values ​​in each column
% I need to get a 40x3000 matrix

回答 (1 件)

KSSV
KSSV 2020 年 7 月 22 日
  1 件のコメント
Lev Mihailov
Lev Mihailov 2020 年 7 月 22 日
I did as in the answer and decided to crank up the operation to create a matrix, I just need a matrix with averaged values
Avg1=reshape(Avg,40,3000);
Error using reshape
To RESHAPE the number of elements must not change.
how do I render my matrix from a vector again?

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by