필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

summation valuse in struct just one dimension

조회 수: 1 (최근 30일)
fatema saba
fatema saba 2015년 1월 15일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello
I have a struct(3*3*3 with fields: bit). in each field I have two values. I want to divide vales of each field by product of summation of values of each field in dimension 3)
for example if
struct(1,1,1).bit=2, 3
struct(1,1,2).bit=4, 5
struct(1,1,3).bit=6, 7
my new sruct values must be for example:
newstruct(1,1,1).bit=2/2+4+6 , 3/3+5+7
newstruct(1,1,2).bit=4/2+4+6 , 5/3+5+7
newstruct(1,1,3).bit=6/2+4+6 , 7/3+5+7
thanks in advance

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by