[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: at-sign in function call
From: |
Etienne Grossmann |
Subject: |
Re: at-sign in function call |
Date: |
Wed, 14 Jun 2006 09:14:38 -0400 |
User-agent: |
Mutt/1.4.2.1i |
function y = myeval (f,x), y = f(x); end
xx = linspace(0,5,100); yy = myeval (@sin, xx); plot (xx,yy)
Hth,
Etienne
On Wed, Jun 14, 2006 at 02:45:09PM +0200, Wolfgang Lindner wrote:
# David Bateman schrieb:
# >>[MU, R, J] = nlinfit(k, x, @constMu, anfMu)
# >>Q: what is the meaning of @?
# > This is a function handle.
# >> What are your recommendations?
# > use a newer version of octave..
#
# Thank you David,
#
# I see there is rapid progess - and I had say good bye to my brave old friend
# octave 2.1.50/win .. at least for using handles.
#
# Please, would someone be so kind and give me a link, where I can find good
infos
# about the concept/idea/surplus and use of 'function handle'?
# Googling I get only hits about MatLAB-handles .. is that ok for octave's @?
#
# Best
# Wolfgang
# --
# Staedtisches Gymnasium, Stockhauserstr. 13, 42929 Wermelskirchen
# privat: Wolfgang Lindner, Stieglitzweg 6, D-42799 Leichlingen
#
# _______________________________________________
# Help-octave mailing list
# address@hidden
# https://www.cae.wisc.edu/mailman/listinfo/help-octave
--
Etienne Grossmann ------ http://www.cs.uky.edu/~etienne