Matrix compersion for different value of coloum

1 回表示 (過去 30 日間)
Mitulkumar Vasani
Mitulkumar Vasani 2021 年 2 月 12 日
回答済み: Mitulkumar Vasani 2021 年 3 月 29 日
as a exmple i have two Matrix with diffrent size of coloums:
  1. 1*1980
  2. 1*2201
how can i compare both matrix with slicing command or any other command and then can i take mean value from both matrix. that's why i need both coloum value similar in matrix.

回答 (2 件)

Walter Roberson
Walter Roberson 2021 年 2 月 12 日
Perhaps something like:
shorter_size = min(numel(First), numel(Second));
meanFirst = mean(First(1:shorter_size));
meanSecond = mean(Second(1:shorter_size));

Mitulkumar Vasani
Mitulkumar Vasani 2021 年 3 月 29 日
is there any option to make interpolation between three histogram plot output and at the end we get one main histogram plot.
is there any matlab function avalible for this?
i used Histogramm2 function and genrate 3 plot. and i want to interpolate this three plot in one as answer.

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by