Community Profile

photo

Sean Roh


Last seen: 3 years ago Active since 2021

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How to multiply array by -1?
I want to invert all the values in the array by -1. [x,fs] = audioread('400hz.mp3']; y=-1*x; soundsc(y,fs);

3 years ago | 1 answer | 0

1

answer

Question


How can I use our own audio for this example? Also is there a way to make this real-time?
https://www.mathworks.com/help/audio/ug/active-noise-control-using-a-filtered-x-lms-fir-adaptive-filter.html

3 years ago | 1 answer | 0

1

answer

Question


I don't have Speedgoat, but is there a way to implement this example?
https://www.mathworks.com/help/audio/ug/active-noise-control-with-simulink.html

3 years ago | 1 answer | 0

1

answer

Question


Can't play sound q
clc clear close all %function [e,w]=lmsBasic(M,x,d,h); % % Input arguments: % M = learned filter length, dim 1x1 % x = in...

3 years ago | 0 answers | 0

0

answers

Question


I'm trying to convert MATLAB code to C++ or C using MATLAB Coder, but it has some errors. Can someone help me with this?
%function [e,w]=lmsBasic(M,x,d,h); % % Input arguments: % M = learned filter length, dim 1x1 % x = input signal, dim Nx1 % ...

3 years ago | 0 answers | 0

0

answers

Question


I'm trying to convert Matlab code to C++ or C, but it has some errors. Can someone help me with this?
%function [e,w]=lmsBasic(M,x,d); % Input arguments: % M = learned filter length, dim 1x1 % x = input signal, dim Nx1 % d = d...

3 years ago | 1 answer | 0

1

answer

Question


How do I implement this code to the example called Active Noise Control Using a Filtered-X LMS FIR Adaptive Filter?
close all; clear all; % get device information dev = audiodevinfo; % create recorder object Sound = audiorecorder(44100, 16,...

3 years ago | 1 answer | 0

1

answer