Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
I'm currently stuck on this problem, can someone help me please
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
1. Create a script called Problem01.m that does the following: Make the following variables A. Write a loop to calculate the sum 1*2+2*3+3*4+ ... + 99*100. B. Create a loop to calculate the sum 1+2+3+...+300. Display the total after each 50 (i.e. 50, 100, 150 …). C. Using nested loops, produce a 3 by 3 (square) matrix A. The matrix should look like this: 0 1 2 3 4 5 6 7 8 D. Create a function multiply that multiplies it’s three arguments and returns the result. Test with 1,2,3.
1 Kommentar
Steven Lord
am 7 Dez. 2017
If you show us how far you've gotten and describe what is preventing you from moving forward we may be able to offer some suggestions.
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!