Community Profile

photo

Lamont Granquist


2 total contributions since 2019

Lamont Granquist's Badges

  • First Answer

View details...

Contributions in
View by

Answered
Pass variable by reference to function
This isn't so much an answer but an example of why pass-by-reference would be useful. I want to pull an array of values out of ...

3 months ago | 0

Question


What is an elegant way to pack and unpack an array of structures to/from a single vector?
What I've got is an array of structures of somewhat complicated data: data(1).r = [ 1 2 3 ]; data(1).v = [ 4 5 6 ]; data(1).m...

3 months ago | 1 answer | 0

1

answer