Question


How to group elements in arrays?
Let's say I have a 1 x 5 structure array, 'data' with fields 'f1' 'f2' 'f3' 'f4' 'f5'. What I am trying to do is to group the e...

10 years ago | 1 answer | 0

1

answer

Question


How to turn this into a single matrix?
Hello. I am trying to find flight times for 1km, 2km, 5km, 10km using different datas. I have a structure array (1x46) data, an...

10 years ago | 1 answer | 0

1

answer

Question


Smoothing plots in MATLAB
<</matlabcentral/answers/uploaded_files/31546/123.jpg>> Hello. I am trying to smooth my graph by applying the moving average ...

10 years ago | 1 answer | 0

1

answer

Question


How to plot with different colours?
Hello. I am trying to plot with different colours (2D plot). I have an index 1 : 46, and for each array, I want a different colo...

10 years ago | 1 answer | 0

1

answer

Question


Subscripted assignment dimension problems?
Hello. I have 1x46 structure array called 'data' with numerous fields. I am particularly interested in the 'Time' field. I...

10 years ago | 1 answer | 0

1

answer

Question


Combining two arrays question
Hello. I have a structure array 'data', and I am trying to define a new variable called 'loc'. The problem I am encountering is ...

10 years ago | 2 answers | 0

2

answers

Question


How to calculate distance and time?
I have sets of data for schedule based airline flights. at t1, t2, t3...., I have corresponding velocities, v1, v2,v3... etc. ...

10 years ago | 1 answer | 0

1

answer

Question


Subtracting the first value from all elements in an array in a structure
Hello. I have 1 x 50 struct array with 20 fields, starting with Time, Speed and Distance. Each array is different sized. What ...

10 years ago | 1 answer | 0

1

answer

Question


Assuming I have 1 x 20 structure arrays, how can obtain the ones that are decreasing element wise?
As mentioned in the title, I have couple of structure arrays, that some of them are * Increasing, such that [a1, a2, a3........

10 years ago | 2 answers | 0

2

answers