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 天)
how to show that in matlab??

回答(1 个)

KALYAN ACHARJYA
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

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by