Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.9K Views
|
4 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How can I create dynamical matrices?

Posted 11 years ago

I'm trying to create dynamical matrices, i.e. whose variables/parameters depend explictly on time and where I can follow time evolution. First application was an economical system in matrix form..but couldn't sort out from manual and exemples how to make it work. Thanks for help

POSTED BY: Paolo Di Marco
4 Replies
POSTED BY: Daniel Lichtblau

Perhaps:

m[t_] := {{t, t^2, Cos[t]}, {2, Sin[t], 3}, {3 t, Tan[t], -t}};
m[t] // MatrixForm

enter image description here

Plot[{Abs[Eigenvalues[m[t]]]}, {t, -3, 3}, PlotTheme -> "Marketing"]

enter image description here

POSTED BY: Vitaliy Kaurov

Thanks to both, actually I was too sketchy: my system would look like this : Apß=Bp, with A and B square matrices, p vector and ß single variable. (A and B are like Leontiev input/output matrices) Left term is at the beginning of first cycle, right one at the end. The elements of A are given at the beginning, the ones in B are calculated from those in A (following some rules and conditions). p is supposed to be a unique solution, together with ß, that satisfies all preconditions. On second cycle A changes (using the values of B..), so will as a consequence p ( ß too should). And so on..

So we don't have explicit dependance on a continuos time, but a sequence of matrices (A(t) , with t discrete). I couldn't find out how to write this process.

POSTED BY: Paolo Di Marco

Perhaps a more specific example would help. What you seem to describe is simply a matrix that is a function of time. That is simple to do.

Here is a rotation matrix that depends on time:

{{Cos[t], -Sin[t]}, {Sin[t], Cos[t]}}
POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard