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: How can I unique name and values the same together?
Replies: 2   Last Post: Mar 24, 2013 12:44 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Derek Goring

Posts: 3,919
Registered: 12/7/04
Re: How can I unique name and values the same together?
Posted: Mar 23, 2013 11:58 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Sunday, March 24, 2013 4:34:06 PM UTC+13, Phuc wrote:
> Example:
>
> a 1
>
> a 2
>
> b 3
>
> c 4
>
>
>
> I want to unique only names:
>
> a 1 2
>
> b 3
>
> c 4
>
>
>
> How can I do that? Thanks everyone.


Do it this way, with a structure:
s.a=[1 2];
s.b=3;
s.c=4;



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.