how to pick 25th % and 75th% number of data from 200x200 matrix

1 visualización (últimos 30 días)
I want tick only the data which occur on 25% and 75% of the data and subtract the value of the data wihich occur on 25% from the data which occur on 75% and save it in another array. like in the excel sheet i just do it manually.

Respuesta aceptada

Arif Hoq
Arif Hoq el 2 de Feb. de 2023
Editada: Arif Hoq el 2 de Feb. de 2023
a=randi(100,200,200); % your data matrix(200 x 200)
data25=a(25,:)/100; % percentage
data75=a(75,:)/100; % percentage
Or if you don't want to calculate without percentage
  2 comentarios
Adil Sardar
Adil Sardar el 2 de Feb. de 2023
Thank you I got it. your code help me

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by