computing a sequence of vectors
2 views (last 30 days)
Show older comments
genevois pierre on 31 Dec 2020
the sequence is defined, for i = 1:n, by this vectorial recurrence relation :
[A(i+1); B(i+1)] = Q * [A(i); B(i)] + [C; D]
with Q = [-(L+d)/d, L/d; -L/d, (L-d)/d]
and [C; D] = 0.5 * q * sin(alpha) * [L + d; L^2/d]
Where n, L, d, q, alpha are given constants
I want to compute symbollically [A(i); B(i)] as a function of [A(n); B(n)], which is known.
How to model in matlab the quantities [A(i); B(i)] for i = 1:n ?
Birdman on 13 Jan 2021
Try the following code:
Then display the values to see if they are correctly obtained.
More Answers (0)
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!