フィルターのクリア

sym2cell not working even for the example given in document.

2 ビュー (過去 30 日間)
Parikshit Pareek
Parikshit Pareek 2016 年 10 月 18 日
コメント済み: Parikshit Pareek 2016 年 10 月 19 日
syms x y S = [x 2 3 4; y 6 7 8; 9 10 11 12]
S =
[ x, 2, 3, 4] [ y, 6, 7, 8] [ 9, 10, 11, 12]
c=sym2cell(S) Undefined function 'sym2cell' for input arguments of type 'sym'.

採用された回答

Steven Lord
Steven Lord 2016 年 10 月 18 日
According to the note at the bottom of the documentation page this function was introduced in release R2016a. I suspect you're using an earlier release of Symbolic Math Toolbox.
  3 件のコメント
Walter Roberson
Walter Roberson 2016 年 10 月 18 日
subs() in all of the vectors at the same time. vpa() or double() the result.
Parikshit Pareek
Parikshit Pareek 2016 年 10 月 19 日
subs() is working with 2 vectors at a time, else giving the error.
Gp=subs(Gp,[Gxy,thi,thj],[G,thi1,thj1]);
Error using sym/cat>checkDimensions (line 75)
CAT arguments dimensions are not consistent.
Error in sym/cat>catMany (line 38)
[resz, ranges] = checkDimensions(sz,dim);
Error in sym/cat (line 27)
ySym = catMany(dim, strs);
Error in sym/horzcat (line 19)
ySym = cat(2,args{:});
end

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConversion Between Symbolic and Numeric についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by