How do I place each answer under a one column matrix?
古いコメントを表示
r = [1, 2.5, 3.25, 4.3, 7.6];
h = [12.3, 14.1, 17.6];
j =15;
for i = 1:length(r);
for k = 1:length(h);
vol = (1/3)*pi*r(i)*h(k)
end
end
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!