Community Profile

photo

Eric


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Unique triples: Length of wire bent into triangle
I have attached a picture of the question for clarity. My current code looks like this, I'm using a small range to test it ou...

9 years ago | 2 answers | 0

2

answers

Answered
Calculate the sum of these two vectors using loops. Can't use sum()
I attached the question to make things more clear

9 years ago | 0

Answered
Calculate the sum of these two vectors using loops. Can't use sum()
Ok, but I'm trying to replace the values of zero with 1,2,3...9, so how do I replace the loop to sum numbers 1:9 Sorry if my ...

9 years ago | 0

Answered
Calculate the sum of these two vectors using loops. Can't use sum()
My output is just not right though. output: 0 0 0 0 0 0 0 0 0

9 years ago | 0

Question


Calculate the sum of these two vectors using loops. Can't use sum()
Use loops to calculate the sum of two row vectors a & b, each of dimension 9. c(i)=a(i) + b(i) for i=1:9; My current code loo...

9 years ago | 4 answers | 0

4

answers

Question


Use nested loops and formatted print statements to reproduce the following printed table of numbers.
1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 9 1 2 3 4...

9 years ago | 2 answers | 0

2

answers