1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab -understanding filter( )

  1. Mar 14, 2014 #1
    1. The problem statement, all variables and given/known data
    For my code for the communication system
    if I have a channel implies response {.3,.6,-.3}

    h=[.3 .6 -.3]

    How do I get ych=filter(h,l,s) to work? I get an error when I run it. I get an error, Error: The press ion on the left of the equals sign is not a valid target for an assignment
     
    Last edited: Mar 14, 2014
  2. jcsd
  3. Mar 14, 2014 #2

    Mark44

    Staff: Mentor

    Just off the top of my head, you have ych = filter(h, l, s), with the middle parameter the letter l (ell). In the link, the middle parameter is the number 1.
     
  4. Mar 14, 2014 #3
    Thanks.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Matlab -understanding filter( )
  1. Filtering with Matlab (Replies: 3)

  2. LC Filter in Matlab (Replies: 4)

Loading...