Student Support Forum: 'ToForm' topicStudent Support Forum > General > Archives > "ToForm"

 Next Comment > Help | Reply To Topic
 Author Comment/Response anthardana 03/24/06 10:44am hello, ai have the next code : a = {{1, 4}, {34, 5}} b = {{12, 4}, {4, 35}} and ai want to obtain a matrix like this: rez={{1+34,4+5},{12+4,4+35}} .. if i use c = {{StringForm["a[[1,1]]+b[[1,1]]"], StringForm["a[[1,2]]+b[[1,2]]"]}, {StringForm["a[[2,1]]+b[[2,1]]"], StringForm["a[[2,2]]+b[[2,2]]"]}} i obtain : \!\(\*FormBox[ RowBox[{"(", "\[NoBreak]", GridBox[{ {"\<\"a[[1,1]]+b[[1,1]]\"\>", "\<\"a[[1,2]]+b[[1,2]]\"\>"}, {"\<\"a[[2,1]]+b[[2,1]]\"\>", "\<\"a[[2,2]]+b[[2,2]]\"\>"} }], "\[NoBreak]", ")"}], TraditionalForm]\) but ai want the numerical values .. thank you verry much URL: ,

 Subject (listing for 'ToForm') Author Date Posted ToForm anthardana 03/24/06 10:44am Re: ToForm zooloo 03/26/06 12:10pm Re: ToForm anthardana 03/28/06 06:11am Re: ToForm zooloo 04/01/06 03:38am
 Next Comment > Help | Reply To Topic