1. Limited time only! Sign up for a free 30min personal 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!

Homework Help: 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.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Loading...