Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Show a table !
Replies: 2   Last Post: Mar 2, 2013 1:43 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
dpb

Posts: 7,891
Registered: 6/7/07
Re: Show a table !
Posted: Mar 2, 2013 1:43 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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...

--





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.