Code Comments
Programming Forum and web based access to our favorite programming groups.hello friends... I have a matrix A = [ 1 2 3 4 5 6 7 8 9 ]; I want to change this matrix into single coloumn format, such as A = [ 1 2 3 4 5 6 7 8 9 ]; Please provide me the proper MATLAB command to do above operation. Mahesh
Post Follow-up to this messageMahesh Neupane: <SNIP wants to reshape his/her mat... some of the solutions b=reshape(permute(A,[2 1]),[],1) % -or- b=A.'; b=b(:) others will have better ones us
Post Follow-up to this messagePB: <SNIP - as usual - drilling right into the wound... > ... Just thougt that your recent posts has had a small touch of obfuscating :) SMALL?! <PB> (!), it took me such a long time to clandestinely wrap the obvious! as usual, best with a big laughter us
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.