Community Profile

photo

Fake Name Johnson


Last seen: ungefär ett år ago Active since 2021

Followers: 0   Following: 0

I created this account only because this website was being broken. I needed a way to troubleshoot.

Statistics

  • First Answer

View badges

Feeds

View by

Answered
How can I create a for loop that takes the number 500 and multiplies it by 1.1 every 7 steps (7,14,21,...), meaning that i want the answer as follows: 500.... 500*1.1....500*1.1*1.1....500*1.1*1.1*1.1 etc
Here's a start a = 500; k = 1.1; p = 0:5; s = 7; x = a*k.^p; x = repelem(x,s) just adjust p as needed to get the desire...

nästan 3 år ago | 0