Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need help

  1. Sep 24, 2009 #1
    need urgent help

    I'm a beginner using matlab, I saw this function working:

    function une=coloca(u)
    num=1:256;
    val=288-(u*3000);
    une(1,:)=val;
    une(2,:)=num;

    but when I try to use it, this error appears:

    ??? Input argument "u" is undefined.

    Error in ==> une at 3
    val=288-(u*3000);

    What could be the problem? Could someone help me ?
     
    Last edited: Sep 24, 2009
  2. jcsd
  3. Sep 29, 2009 #2
    Re: need urgent help

    How do you call the function?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Need help
  1. Matlab help needed (Replies: 6)

  2. Need help in MATLAB (Replies: 6)

  3. Latex help needed (Replies: 4)

  4. I need help with Excel (Replies: 2)

Loading...