Community Profile

photo

Joseph McGorry


Last seen: 3 Monate ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Answered
How to create array from saved iterations of a loop
For anyone wondering, initialise x = []; and then to call it outside the loop x = [x,y]

3 Monate ago | 0

| accepted

Question


How to create array from saved iterations of a loop
I am wondering how I would create an array of numbers from a loop in matlab. After every iteration a number is saved and I want...

3 Monate ago | 2 answers | 0

2

answers

Question


Assigning an arbitrary number to an array
My code is x = [2.32, 4.23, 1.92, 3.24, 2.13]; points = [3, 1, 2]; first_answer = x(points); second_answer = min(first_answ...

3 Monate ago | 1 answer | 0

1

answer