Thread Subject: Embedded MATLAB function error

Subject: Embedded MATLAB function error

From: Prashant Sandhi

Date: 8 Dec, 2009 09:39:02

Message: 1 of 1

Dear Freinds,

This code gives error called the cut-off frequency should be under 0.1 .
when replaced 0.9 with 6.366. The reason I have mentioned 6.366 because I have tried using butter-worth low pass filter with pass band edge frequency of 40 rad/sec and it works good.

function output_data=butter_filt(input_data)
%#eml
[b,a]=butter(6,0.9);
output_data=filter(b,a,input_data);

how can I filter a 230V 50Hz frequency using the above low-pass filter code?

with best regards,
sandhi

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
embedded matlab Prashant Sandhi 8 Dec, 2009 04:44:03
rssFeed for this Thread

Contact us at files@mathworks.com