I am trying to get a C code for the peaking IIR filter, but I am getting the following error in MATLAB Code Report Viewer.I am attaching the MATLAB code below .Please help me to debug this error .Any help would be appreciated
function Hd = Filter1_150_matlab %FILTER1_150_MATLAB Returns a discrete-time filter object. % MATLAB Code % Generated by MATLAB(R) 9.4 and DSP System Toolbox 9.6. % Generated on: 26-Mar-2019 16:44:54 % IIR Peaking filter designed using the IIRPEAK function. % All frequency values are in Hz. Fs = 1000; % Sampling Frequency Fpeak = 150; % Peak Frequency Q = 100; % Q-factor Apass = 1; % Bandwidth Attenuation BW = Fpeak/Q; % Calculate the coefficients using the IIRNOTCHPEAK function. [b, a] = iirpeak(Fpeak/(Fs/2), BW/(Fs/2), Apass); Hd = dsp.IIRFilter( ... 'Structure', 'Direct form II', ... 'Numerator', b, ... 'Denominator', a); num = [0.0092 0 -0.0092] den = [1 -1.1648 0.9816] %Hz1 = filt(num,den) %disp(Hz1) % [EOF]
I am getting following error message
Handle Classes in top-level outputs are not supported in MATLAB Coder. Output parameter 'Hd' contains a handle class.
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.