フィルターのクリア

There's a way that I can count the percentage of appearance of a number in MATLAB table??

3 ビュー (過去 30 日間)
Brenno Selli
Brenno Selli 2023 年 3 月 22 日
コメント済み: Brenno Selli 2023 年 3 月 24 日
I have this table below, I need to find a way to show how many times each letter appears at each speed and also how many times each letter appears in total in percentage format.
  2 件のコメント
Image Analyst
Image Analyst 2023 年 3 月 22 日
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
To save the variable to a .mat file:
save('answers.mat', 'TABELA_P1_PES');
Brenno Selli
Brenno Selli 2023 年 3 月 22 日
A thousand pardons for the delay, I was at university until the moment... well, here is attached my table of values. I spent all afternoon trying to get the values ​​and calculate the percentage of appearance in each of the columns, but so far I have not been successful.

サインインしてコメントする。

回答 (1 件)

Piyush
Piyush 2023 年 3 月 23 日
There is a function named tabulate that displays the frequency table of the data in the vector x.If we do conversion of table to vector, we can use this function directly. Checkout the below link for more information:
  1 件のコメント
Brenno Selli
Brenno Selli 2023 年 3 月 24 日
It would be nice if the tabulate function works, but I need the percentage of the letters that are not showing and tabulate do not show those numbers.

サインインしてコメントする。

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by