| Author |
Comment/Response |
Jan Klouzny
|
05/28/07 4:22pm
Hi. I'm sorry to repeat this question, because I know somebody's asked before me, but I can't find out it in this forum again. I have (very simple talked)
a = { {1,2},{1,3},{1,4} }
and I want For[i=1, i<= Length[a], a[[i,2]]=a[[i,2]]*100; i++]
I want to ask You how to write it simplier, e.g. apply *100 on all second elements of list a. Better to say how can I change all elements in the i-th column of matrix without For[i=1, i<=...]. I want something like a[#,2]*=100, where # are all possible integers in matrix a. Thanks a lot for help
URL: , |
|