フィルターのクリア

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