# How can i make equal two matrices?

8 views (last 30 days)
Volkan Yangin on 5 Nov 2020
Commented: KSSV on 5 Nov 2020
Hi,
xx0 =
[(5347071735127577*t)/2251799813685248 + 10, 10 - (867684789143429*t)/8796093022208]
[ 56 - (49822173224577*t)/562949953421312, 11 - (154000297519623*t)/274877906944]
[ (3019465549340397*t)/562949953421312 + 1, 21 - (1879737356617211*t)/281474976710656]
I want xx0 to be equal to this:
[x01(t), x02(t)]
This matrix should include 3 rows and 2 columns. In these matrices, t means time and is a symbolic expression.
Is there any way to do this?
Thanks a a lot!
KSSV on 5 Nov 2020
With what you want to repalce x01 ans x02?

VBBV on 5 Nov 2020
Edited: KSSV on 5 Nov 2020
syms t
xx0= [(5347071735127577*t)/2251799813685248 + 10, 10 - (867684789143429*t)/8796093022208;
56 - (49822173224577*t)/562949953421312, 11 - (154000297519623*t)/274877906944;
(3019465549340397*t)/562949953421312 + 1, 21 - (1879737356617211*t)/281474976710656]
x01(t) = [(5347071735127577*t)/2251799813685248 + 10;
56 - (49822173224577*t)/562949953421312;
(3019465549340397*t)/562949953421312 + 1]
x02(t) = [10 - (867684789143429*t)/8796093022208;
11 - (154000297519623*t)/274877906944;
21 - (1879737356617211*t)/281474976710656]
iwant = [x01(t) x02(t)];
Is this ?
Volkan Yangin on 5 Nov 2020
x01 and x02 should be extracted from xx0 matrix automatically.
x01=First line of xx0
x02=Second line of xx0