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 visualizzazione (ultimi 30 giorni)
how to show that in matlab??

Risposte (1)

KALYAN ACHARJYA
KALYAN ACHARJYA il 9 Apr 2023
Modificato: KALYAN ACHARJYA il 9 Apr 2023
Hint: Complte it. Learn MATLAB Basics MATLAB Onramp
Z=zeros(1,10);
for i=1:10
i
Z(i)=........;% Complete it
end

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by