Matlab -understanding filter( )

  • Thread starter Thread starter cutesteph
  • Start date Start date
  • Tags Tags
    Filter Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
cutesteph
Messages
62
Reaction score
0

Homework Statement


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:
Physics news on Phys.org
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.