How do I place each answer under a one column matrix?
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Direct Search en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!