Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
dpb
Posts:
6,692
Registered:
6/7/07
|
|
Re: Show a table !
Posted:
Mar 2, 2013 1:43 PM
|
|
On 3/2/2013 10:28 AM, Amir wrote: > "Amir " <amirkms@yahoo.com> wrote in message > <kgpm2i$19u$1@newscl01ah.mathworks.com>... >> Hi >> in my program i need to show a table to operator.the table contains >> strings and integers ! like : >> Channel material Maning roughness factor n >> Concrete 0.013-0.015 >> Grouted riprap 0.028-0.040 >> Soil cement 0.020-0.025 >> Asphalt 0.016-0.018 >> Bare soil 0.020-0.023 >> Rock cut 0.025-0.045 >> Fiberglass roving 0.019-0.028 >> Woven paper net 0.015-0.016 >> Jute net 0.019-0.028 >> Synthetic mat 0.021-0.030 >> >> >> Please help ! > > > Any Solution ? is it hard ?
doc fprintf % and friends
Use the width field to fix column width/positions...
Depending on the way you've got the info stored will control exactly the format strings you need...
--
|
|
|
|