how to calculate the average between multiple floating point entries only(f1,f2​,f3,f4,f5,​f6.,....) and delete the duplicated columns

조회 수: 1 (최근 30일)
i have multiple columns 's format: %s %f1%s%d%d %f2%s%d%d %f3%s%d%d %f4%s%d%d %f5%s%d%d %f6%s%d%d %f7%s%d%d............ results should be like this: %s %f1%s %f2 %f3 %f4 %f5 %f6 %f7.................................................

답변 (1개)

KSSV
KSSV 2017년 2월 21일
How about
mean(unique(myarray))
  댓글 수: 4

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by