Created
August 19, 2020 19:35
-
-
Save AALEKH/7b55fb8513f2916dda65857716bf13aa to your computer and use it in GitHub Desktop.
Revisions
-
AALEKH created this gist
Aug 19, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ >>A = [1 2; 3 5] A = 1 2 3 5 >>sum(A, 1) ans = 4 7 >>sum(A, 2) ans = 3 8 >>A(1,:) ans = 1 2 >>A(:,1) ans = 1 3 >>