![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/12873227_1526778231537_DEF.jpg)
Joseph McGorry
Followers: 0 Following: 0
Feeds
已回答
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]
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 years 前 | 0
| 已接受
提问
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 years 前 | 2 个回答 | 0
2
个回答提问
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 years 前 | 1 个回答 | 0