From: blup_00 on 3 May 2010 06:31 Can I use this in fprintf or only in display? If it can, please show me example.
From: Steven Lord on 3 May 2010 10:56 "blup_00" <borisziv(a)gmail.com> wrote in message news:1490413659.63444.1272897114311.JavaMail.root(a)gallium.mathforum.org... > Can I use this in fprintf or only in display? If it can, please show me > example. > Sure, why wouldn't you be able to use it in FPRINTF? BLANKS just returns a string that's n characters long and contains nothing but spaces -- you can use it just like any other string. fprintf('20 spaces:%s:\n', blanks(20)) -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
From: us on 3 May 2010 11:15 blup_00 <borisziv(a)gmail.com> wrote in message <1490413659.63444.1272897114311.JavaMail.root(a)gallium.mathforum.org>... > Can I use this in fprintf or only in display? If it can, please show me example. a hint: - yes, BLANKS simply produces a CHAR string of spaces... us
|
Pages: 1 Prev: symbolic integration issue Next: creating a movie from a real display |