フィルターのクリア

How can I convert num and den to strings?

3 ビュー (過去 30 日間)
sadel
sadel 2011 年 6 月 9 日
How can I convert num and den to strings?
sys=tf([1],[1 1],'InputDelay',2)
sysd=c2d(sys,0.5)
[num,den]=tfdata(sysd)

採用された回答

Paulo Silva
Paulo Silva 2011 年 6 月 9 日
nums=num2str(num{:});
dens=num2str(den{:});
  2 件のコメント
sadel
sadel 2011 年 6 月 9 日
Why do I receive this error?
??? Undefined function or method 'fix' for input arguments of type
'cell'.
Error in ==> num2str at 68
if ~isempty(x) && isequalwithequalnans(x, fix(x))
Paulo Silva
Paulo Silva 2011 年 6 月 9 日
just a small error on my part, it's fixed now

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

その他の回答 (0 件)

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by