Using function with a for loop
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm struggling to complete the function with a for loop.
Below is what I have got so far. Not sure what went wrong and how to fix it.
I also need a code to call the function at the end.
0 comentarios
Respuesta aceptada
VBBV
el 27 de Ag. de 2022
(factorial(i)).^2)
You have two extra parenthesis for this term
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!