Notices
Results 1 to 1 of 1

Thread: Matlab, calling function handles in an mfile

  1. #1 Matlab, calling function handles in an mfile 
    Forum Masters Degree organic god's Avatar
    Join Date
    Feb 2008
    Location
    London
    Posts
    567
    Hey all

    Suppse i hav a matlab M-fle which is something like
    function x = function_name(a,b)
    y = f(x)
    ...

    this means that when i want to do the operation associated with function_name, i have to go into the m-file to change y = f(x) for whatever my y function is.

    Is there a method by which i could do function x = function_name(y,a,b)
    ...

    therefore y could be defined in the matlab command window, and function name would operate on this y function..

    thanks


    everything is mathematical.
    Reply With Quote  
     

  2.  
     

Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •