I have a matrix as
Px=[ Columns 1 through 9 0.0574 0.0574 0.0574 0.0015 0.0112 0.0112 0.0574 0.0112 0.0574 Column 10 0.0112]
Now i want to add columns 1 to 10 and save first then add column 2 to 10 and goes on
PX=[Px(1)...+Px(10) Px(2)...+Px(10) Px(3)..+Px(10) Px(4)..+Px(10) Px(5)..+Px(10) Px(6)..+Px(10) Px(7)..+Px(10) Px(8)..+Px(10) Px(9)..+Px(10) Px(10)]
Please help me…. please please….
Best Answer