Community Profile

photo

Corey Katz


Aktiv seit 2018

Followers: 0   Following: 0

Statistiken

Feeds

Anzeigen nach

Frage


I would like to evaluate a function for N=11,21,51,and 101 using a for loop, but I can only get it to do the last N.
I tried to loop over N and get four vectors out of the function. N is the number of points and the function evaluates an estimat...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I would like to evaluate a partial sum for N=3,N=10,N=25 and at the same (or any N). How can this be done?
What I have right now. X=pi/2; sum = 0 N =[3 10 25]; %I want the sum of the first 3 terms, the sum of t...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I would like to evaluate a partial sum for N=3,N=10,N=25 and at the same (or any N). How can this be done?
What I have right now. X=pi/2; sum = 0 N =[3 10 25]; %I want the sum of the first 3 terms and the sum o...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort