Output truncated. Text exceeds maximum line length of 25,000 characters for Command Window display.

7 views (last 30 days)
hello
i have tried to find determian of of 7 by 7 matrices with all symbolic entries but it showes
Output truncated. Text exceeds maximum line length of 25,000 characters for Command Window display.
so i have used many expressions but still does not work. who can help me
with respect.
These are my typing
>> syms a12 b12 a13 b13 a14 b14 a15 b15 a16 b16 a23 b23 a24 b24 a25 b25 a26 b26 a34 b34 a35 b35 a36 b36 a45 b45 a46 b46 a56 b56 A B C D E F G a17 a27 a37 a47 a57 a67 b17 b27 b37 b47 b57 b67
>> X=[A a12 a13 a14 a15 a16 a17;b12 B a23 a24 a25 a26 a27;b13 b23 C a34 a35 a36 a37;b14 b24 b34 D a45 a46 a47;b15 b25 b35 b45 E a56 a57;b16 b26 b36 b46 b56 F a67;b17 b27 b37 b47 b57 b67 G]
S=det(X)

Answers (1)

Steven Lord
Steven Lord on 24 Jul 2020
Since I'm guessing you don't really want to read through pages and pages of the result of that command, suppress the display by ending the line where you call det with a semicolon.
Alternately, substitute numeric values for some or all of the elements of that matrix before calling det rather than (as I suspect you're planning to do) substituting after.
  16 Comments
wlat hamad
wlat hamad on 18 Apr 2022
Great dear brother. I have one more problem could you help me? I have found all terms of 7 by 7 detriment of a specific matrix, so i know many results are same or has been repeated, i would like to collect all that terms which are same, although maybe they are not entirely same for example All results are like that a_{12}*a_{34}*a_{45}*a_{24}*b_{12}*b_{34}+.... I know the above equation is being repeated over this 5020 terms but maybe appear like this a_{12}*a_{34}*a_{45}*a_{24}*b_{12}*b_{34}+... = a_{34}*a_{12}*a_{24}*a_{45}*b_{12}*b_{34}+...
Could you solve this? Best regards
Steven Lord
Steven Lord on 18 Apr 2022
You can try using the subexpr function, but I'm not sure how much more readable (if at all) it's going to make this sixty-three page long expression.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!