2.m working

This commit is contained in:
Filipriec
2025-10-02 15:34:01 +02:00
commit 20aa42808e
3 changed files with 35 additions and 0 deletions

18
2.m Normal file
View File

@@ -0,0 +1,18 @@
clear all;
close all;
A = zeros(5,10)
sum_col = zeros(10)
for i=1:5;
for j=1:10;
b = j + (i-1)*(10)
A(i, j) = b;
A
end
end
for i = 1:10;
for j = 1:5;
sum_col(i) = sum_col(i) + A(j, i)
end
end