Are filter objects supported for GPU in MATLAB 8.1 (R2013a)?

Technical Source
2 min readMar 2, 2021

--

I want to know if I can use filter objects for GPUs in MATLAB 8.1 (R2013a). I have the Jacket from AccelerEyes but their filter performance is slower than the MATLAB filter performance. I do not want to use the filter method. I want to use filter objects. Currently, I use the following filter command in matlab (CPUs only):

Hd_custom_cheby2 = fdesign.lowpass('N,Fst,Ast', N, high_limit, A_stop, Fs);custom = design(Hd_custom_cheby2, 'cheby2','SystemObject',true);                    filteredData = step(custom, data);

I want to know if I can do the same for GPUs.

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

The MATLAB built-in FILTER command supports gpuArray inputs.

You can design the filter using the CHEBY2 function and then use the coefficients to filter data with the filter function. Please type the following command at the MATLAB command prompt to get a list of functions supported on a GPU:

>>methods('gpuArray')

MATLAB filter System objects do not support gpuArray inputs, however they support C-code generation which can also be used to speed up processing time. You will need MATLAB Coder for this. You can use FDESIGN to design a filter System object with coefficients that meet the filter specifications and then generate C code to process data with this filter. Please take a look at this documentation link for more information on building filters through a GUI:

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet