Re: Function to compares two arrays and returns indices where they are equivalent
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Mon, 21 Mar 2011 02:58:30 +0000 (UTC)
Nasser M. Abbasi <nma@xxxxxxxxx> wrote:
On 3/20/2011 3:38 PM, Ron Shepard wrote:
Yes, but it's not the same way. I don't use Matlab, but I do use
Mathematica, and it has the same kind of structure that function
names are global.
But Mathemtica resolved this problem better than Matlab. In Mathematica,
system commands and symbols all start with Uppercase, and in addition,
they can not be overwritten explicity.
try to define a function which is allready a system function, and will
get an error:
Sqrt[x_]:=x^(1/2)
....
Sqrt[x_]} is Protected.
Unprotect[Sqrt]
Sqrt[x_]=x^3
-- glen
.
- Follow-Ups:
- References:
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: Nasser M. Abbasi
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: Nasser M. Abbasi
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: Daniel Carrera
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: Nasser M. Abbasi
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: Daniel Carrera
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: dpb
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: Daniel Carrera
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: dpb
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: Daniel Carrera
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: Dick Hendrickson
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: Ron Shepard
- Re: Function to compares two arrays and returns indices where they are equivalent
- From: Nasser M. Abbasi
- Re: Function to compares two arrays and returns indices where they are equivalent
- Prev by Date: Re: Function to compares two arrays and returns indices where they are equivalent
- Next by Date: Re: Non-Intrinsic IEEE Exception Modules Available Under Windows?
- Previous by thread: Re: Function to compares two arrays and returns indices where they are equivalent
- Next by thread: Re: Function to compares two arrays and returns indices where they are equivalent
- Index(es):
Relevant Pages
|