octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inline functions in Matlab R14


From: Quentin Spencer
Subject: Re: inline functions in Matlab R14
Date: Wed, 22 Sep 2004 11:49:44 -0500
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

Here's the output I get:

                             < M A T L A B >
                 Copyright 1984-2004 The MathWorks, Inc.
                        Version 7.0.0.19901 (R14)
                              May 06, 2004


 To get started, type one of these: helpwin, helpdesk, or demo.
 For product information, visit www.mathworks.com.

>>
>> inline ('p_1+1')
ans =
    Inline function:
    ans(p_1) = p_1+1
>> inline ('p+q')
ans =
    Inline function:
    ans(p,q) = p+q
>> inline ('abc+xyz')
ans =
    Inline function:
    ans(abc,xyz) = abc+xyz
>> inline ('Abc+xyZ')
ans =
    Inline function:
    ans(Abc,xyZ) = Abc+xyZ




David Bateman wrote:

According to John W. Eaton <address@hidden> (on 09/22/04):
Can someone who has Matlab R14 say what it does in the following
cases?

 inline ('p_1+1')

 inline ('p+q')

 inline ('abc+xyz')

Could I also suggest the case


  inline ('Abc+xyZ')

as the documentation is seems to imply special treatment for upper and
lower case characters...

D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]