photo

Mohammed Safwat


Aktiv seit 2017

Followers: 0   Following: 0

Statistik

Feeds

Anzeigen nach

Frage


Can someone help me. Appreantly, my code has a minor mistake..plz help
function main() clear clc %Part A% total = 0; for n = 1:99 total = total + n*(n+1); end fprintf('T...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Can someone help with a nested for loop question...
This is the problem: Using nested loops, produce a 3 by 3 (square) matrix A. The matrix should look like this: 0 1 ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
New to matlab, need help with problem..
Total = 0; not understanding why its working for z = 1:300 Total = Total + z if mod(z,50)==0 di...

mehr als 6 Jahre vor | 0

Frage


New to matlab, need help with problem..
I am suppose to create a loop to calculate the sum 1+2+3+...+300. Display the total after each 50 (i.e. 50, 100, 150 …) I know ...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Help me with this question please....
Write a loop to calculate the sum 1*2+2*3+3*4+ ... + 99*100. The answer is 333300 so far I have total = 0; for n = ...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


I'm currently stuck on this problem, can someone help me please
1. Create a script called Problem01.m that does the following: Make the following variables A. Write a loop to calculate the s...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten