Community Profile

photo

Anna Nordin


Active since 2019

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Answered
Huw to create counter?
r = 0 summa = 0 for k=1:10 r = r+1 summa = summa + r end

2 years ago | 0

| accepted

Question


Huw to create counter?
"Counters are useful programming tools, for example, to keep track of how many times a command has been executed. Create a count...

2 years ago | 1 answer | 1

1

answer

Question


How do at write the equation
How do I make this equation work for a vector? (the vector x=[-1:0.1:1]) f = x 2 sin(πx) I've tried the following: f=x.^2*sin...

2 years ago | 1 answer | 0

1

answer