how to add and substract manually in a matrix?
Show older comments
I have a matrix like
A=[1 1 0.7 1
0.7 1 1 1
1 1 0.7 1]
now i want to addition of each column to be 3 so in first column its total is 2.7. where 3-2.7 = 0.3. i want to divide this 0.3 in rest 1 that is 0.15 to 1st element A(1,1) and A(3,1). same wise i want to do for each column. how shall i do that...plz plz help me....
3 Comments
James Tursa
on 2 May 2014
Please show the complete expected result for your example. Do you only want to add to the 1's and not the 0.7's?
Nitin
on 2 May 2014
Are you trying to nomalize here?
suchismita
on 2 May 2014
Accepted Answer
More Answers (0)
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!