Community Profile

photo

Lamont Granquist


Last seen: 8 months ago Active since 2019

Statistics

  • Knowledgeable Level 1
  • First Review
  • First Answer

View badges

Content Feed

View by

Answered
How does Matlab compute numerical jacobians?
So I got this working on R2021a, which I'll reproduce here since I've seen other people wonder how to make sfdnls or finitediffe...

1 year ago | 0

| accepted

Question


How does Matlab compute numerical jacobians?
How do Matlab functions like lsqnonlin compute numerical jacobians, and can those functions be called directly? And I'm aware o...

1 year ago | 2 answers | 0

2

answers

Question


How do you create a symbolic function of symbolic vectors?
What I'm trying to write is this: syms T real r=sym('r', [1 3], 'real'); v=sym('v', [1 3], 'real'); pv=sym('pv', [1 3], 'rea...

1 year ago | 1 answer | 0

1

answer

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 ...

5 years 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...

5 years ago | 1 answer | 0

1

answer