The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: change the name
Replies: 3   Last Post: Dec 11, 2012 9:50 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nasser Abbasi

Posts: 6,677
Registered: 2/7/05
Re: change the name
Posted: Dec 11, 2012 9:06 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 12/11/2012 8:01 AM, Debora wrote:
> how do I change the name of an array? for example, if in my array I have NAME_1,
>NAME_2, how do I change it in the name 1, name 2?

name1= NAME_1
name2= NAME_2

now the names are changed.

You can do

clear NAME_1
clear NAME_2

if you like after that but Matlab GC will take care of these
so not really needed.


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.