Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Accessing huge matrix of symfun?

1 回表示 (過去 30 日間)
Ali Almakhmari
Ali Almakhmari 2023 年 7 月 27 日
閉鎖済み: Ali Almakhmari 2023 年 8 月 18 日
I have this H.mat file with an H variable that is of type symfun. Its supposed to be a matrix with symbolic variables:
syms s
H(s) = C/(s*eye(size(A))-A)
and matrices C and A also contian multiple and many other symbolic variables. But when I got H (which I attached in the .mat file here), I cannot see its contents from the workspace (I believe its because its too big and complicated). So how can I index/call or get access in any other way to whats inside H?
Note: A is 12 by 12 and C is 6 by 12.
  5 件のコメント
Ali Almakhmari
Ali Almakhmari 2023 年 8 月 17 日
編集済み: Ali Almakhmari 2023 年 8 月 17 日
Its a 1 by 1 symFcn but when you open it you will get a matrix with multiple symFcn equations. The issue is that I cannot index that H to extract a specific symFcn equation in the matrix. For example, having H, how can I extract the symFcn in the 1st row, 2nd column?
Mann Baidi
Mann Baidi 2023 年 8 月 18 日
You will not be able to extract it untill the matrix is mxn matrix and not 1x1 matrix.

回答 (0 件)

この質問は閉じられています。

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by