Define an empty matrix Z. Using FOR statement for i = 1, . . . , 10, print out i and store i in the matrix Z at each iteration
1 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
KALYAN ACHARJYA
2023-4-9
编辑:KALYAN ACHARJYA
2023-4-9
Hint: Complte it. Learn MATLAB Basics MATLAB Onramp
Z=zeros(1,10);
for i=1:10
i
Z(i)=........;% Complete it
end
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!