Define a 100 * 100 symbolic matrix whose elements are the function of a symbolic variable t

Hi guys,
I want to define a symbolic matrix whose size is 100 * 100. All of the elements inside the matrix are all functions of time t. Also, I want to make the variable t a symbolic variable.
So how to define this matrix and write the codes in Matlab ?
Thanks so much!
Cheers

5 Comments

Dear KSSV,
Thanks so much for your anser!
Actually, I want to creat a 100*100 symbolic matrix, inside which all elements are the functions of the time variable t.
So I can input all of the 10000 elements in this way: A_1(t) , A_2(t), A_3(t) , ..., A_10000(t). However, u can see this process is quite time-comsuming.
Thus I want to know are there any codes in matlab that can directly this matrix
A(t) = [ A_1_1(t) , ..., A_1_100(t) ;
...
...
A_100_1(t) , ..., A_100_100(t) ]
Thanks so much!
This cannot be done in MATLAB. Arrays of symbolic functions are converted into a single symbolic function returning an array.
Hi Walter and Stephan,
Thanks very very much for your answers! boost my efficiency and release more time for other jobs! I will use the workaround as Stephan have shown to me!
Again, THANK BOTH OF YOU VERY MUCH!

Sign in to comment.

Answers (0)

Products

Asked:

on 22 Mar 2019

Commented:

on 27 May 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!