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: 2d vectorization challenge
Replies: 10   Last Post: Apr 19, 2009 4:27 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Dimitri Shvorob

Posts: 49
Registered: 4/1/08
Re: 2d vectorization challenge
Posted: Apr 19, 2009 2:44 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> It does generalize to an arbitrary function that is vectorized to operate on scalar elements of an array.

Aha. 'Arbitrary function' <> 'arbitrary function that is vectorized to operate on scalar elements of an array'.

> The sine function is the example you posed.

I also wrote about sine standing in for an arbitrary function. (And - we are back to first question :)).

Replace 'sin(x)' with 'abracadabra(x)' - now what do I do?

I wished to check that this snippet - nay, pattern - could not be re-engineered using "arrayfun" or in another way.

It doesn't look like it can, but many thanks to John for taking a look.



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.