- #1

Qubix

- 82

- 1

**1. I'll post here a simplified version of my problem**

Say you have a matrix A, and you want all its components to be functions, for example:

A11 = Sin(a_n)

A12 = Cos(a_n)

A21 = Sin(b_n)

A22 = Cos(b_n)

And I want to be able to do this in mathematica so as to have the matrix A a function of n.

## Homework Equations

How can I do this, such that when I ask

MatrixForm[A[4]] for example, it would give me the matrix with all components in terms of a_4 and b_4 ?

## The Attempt at a Solution

Rather long and wrong, so better not post it here.