how can one enter a matrix in MATLAB? say I had A = 0 1 -3 -3 how can I do that?? cheers phil
quick matlab question
Started by ●January 15, 2004
Reply by ●January 15, 20042004-01-15
forget it, I've looked, nothing easy to be done. don't need to know the answer anyway!! cheers Phil "Philip Newman" <nojunkmail@ntlworld.com> wrote in message news:wrBNb.4279$YV1.928@newsfep4-winn.server.ntli.net...> how can one enter a matrix in MATLAB? > > say I had A = 0 1 > -3 -3 > > how can I do that?? > > cheers > > phil > >
Reply by ●January 15, 20042004-01-15
Hi, Just type the following, A = [ 0 1 ; -3 -3] (Or maybe it should be a coma ?) Hope this helps ;) Philip Newman wrote:> how can one enter a matrix in MATLAB? > > say I had A = 0 1 > -3 -3 > > how can I do that?? > > cheers > > phil > >
Reply by ●January 15, 20042004-01-15
ahh! excellent!! cheers Phil "herbert arthur" <herbert.arthur@caramail.com> wrote in message news:bu6rpf$ql7$1@news-reader3.wanadoo.fr...> Hi, > Just type the following, > A = [ 0 1 ; -3 -3] > (Or maybe it should be a coma ?) > > Hope this helps ;) > > > Philip Newman wrote: > > how can one enter a matrix in MATLAB? > > > > say I had A = 0 1 > > -3 -3 > > > > how can I do that?? > > > > cheers > > > > phil > > > > >