Réponse apportée
i am trying to code a high shelf filter with an input(.wav) audio signal . I am a student im doing this for my final year project....kindly professionals give me solution
hello as an appetizer , please read the attached txt file and see how it's implemented in the m file (filters.m) for your sp...

plus de 4 ans il y a | 0

Réponse apportée
Determine the Bode diagram or a transfer function with input output data without tfest
hello this is a better code ; a better transfer function estimate is based on the auto power spectra and cross spectrum betwee...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Why is the magnitude spectrum spreaded over certain frequency range instead of line spectrum in FFT?
hello I took the 3rd data and used my usual tool and could get the two frequencies clc clearvars option_notch = 0; % 0...

plus de 4 ans il y a | 1

Réponse apportée
Help with for loop and if else statement
hello here you are . Q andy must be indexed in the loop (Q(k) , y(k)) only one Q variable suffice for all cases - no need...

plus de 4 ans il y a | 1

Réponse apportée
I have a bunch of named test data with some missing specimens. Want to perform mathematical operations on said data automatically.
hello this is my suggestion ... I created a list of files with missing files (could be a different scenario for each group) t...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to insert and analyze as signal a column from a txt file.
hello and welcome in this forum ! here a starter - how to list and import multiple txt files - after remains to implement your...

plus de 4 ans il y a | 0

Réponse apportée
How to create a distance between labels in plot?
hello haya I have introduced a bit of randomness in the dz so that the labels will be a different heights dz = 0.2+0.5*rand(...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Include legends based on column names in for loop
hello see my little demo below to use the table varibales names as legend the csv data file is attached clearvars clc %...

plus de 4 ans il y a | 1

Réponse apportée
Plotting 2D XY values as a 3D radial contour plot
hello my 2 cents suggestion clc clearvars data = importdata('data.txt'); x = data.data(:,1); n = 200; r = linspace(mi...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
filtfilt problem when trying to compensate for delay
hello the Hd filter was not supplied so I suggest here some standard filter (butterworth lowpass or bandpass) or smoothing tec...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
smoothen curve plotted using discrete points
hello this would be my suggestion - others methods I tried have not been successfull flowrate = [ 0 93 100 120 140 160 172...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
how to use loop in function to plot
hello try this I modified your function because x and y are both outputs theta = linspace(0,2*pi,100); figure(1) [x,y...

plus de 4 ans il y a | 0

Réponse apportée
Repeated sequence of numbers in a vector
maybe this M = [1,2,3,4,5,7,2,5,3,6,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,7,4,1,2,3,4,5,1,2,3,4,5,7,2,1,2,3,4,5] Ms = sprintf('%d',M)...

plus de 4 ans il y a | 0

Réponse apportée
How to load numbers from a text file to a .mat file?
hi maybe this (I assumed you want each individual value stored in a cell) the cell array can be of course saved to a mat fil...

plus de 4 ans il y a | 0

Réponse apportée
Finding out the minimum value position of a matrix
hello try this your answer is in r_final and c_final a=[1 2 3 4 5 10;2 3 5 6 1 12;2 6 4 5 7 16;10 2 1 4 5 20;2 3 1 4 9 12] ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to differentiate a noise signal.
hello again I think your model was correct only the solver parameters could be more adapted - now I forced the solver to use ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to read an .SRT file in order to extract data ?
hello Elias try this, hope it helps %% read one file clc clearvars filename = 'EXAMPLE.txt'; a = readlines(filename);...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Playing sound using 4 channels or converting 4 channels to two
Hello Alex seems to me that none of your codes does actually mix the two songs, here you simply create a 4 channels audio fro...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
how to control amplitude of step in code
hello simply multiply the result of the (normalized) step (input amplitude = 1) by the actual / desired input amplitude inp...

plus de 4 ans il y a | 0

Réponse apportée
how to calculate RMS of excel sheet having multiple channel
hello see demo code below with attached excel file I assumed the data are column oriented the rms values are stored in arr...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Define main frequencies of accelerometer signals
hello Sergio if you are interested in the low frequency range , my liitle code can help you the quantization noise is quit...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
how to generate the fowlloing data file based on the original data format?
hellooo and welcome back !! I think I recognize a bit this code .... see my little mods below : clc clearvars S = dir(...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
I'm starting in Matlab and I have to code centred loops spreading in different directions. Just like the picture I added. Any guidance on where to start would be appreciated.
hello try this circles_radius = 1; radius_noise_amplitude = 0.05; center_radius = 2; center_radius_noise_amplit...

plus de 4 ans il y a | 0

Réponse apportée
How to create linear phase filters for filter bank?
hello the phase roll rate must be constant like in the example below %% define filters fs = 10000; freq = linspace(100,(f...

plus de 4 ans il y a | 0

Réponse apportée
Remove simultaneously several substrings in a string
hello try this A = "159 (51,1%) 13 (4,2%) 139 (44,7%)"; B = split(A,' '); B(contains(B,'(')) = []; B = join(B,' ');

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
using logical indexing to find events
hello there is a very simple answer using interp1 t=0:0.01:10; x=sin(2*pi*t)+t/10; y=sin(2*pi*t+pi/4); tevent=[5.3,3.2,8.7,...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Trouble fitting a curve using polyfit and polyval
hello see example below : clc clearvars % data x = (0:100); b = 1.5; a = 2.35; y = a + b*x + 3*randn(size(x)); %...

plus de 4 ans il y a | 0

Réponse apportée
Plotting only few indices over time series
hello my 2 cents suggestion : n = 1:500; x = n.*(1+rand(size(n))); ind = [28,300,349,388,389]; plot(n,x,'b',n(ind),x(in...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to make a piecewise function without using syms?
hello Brianna try this (using logical arrays) n = 0:20; x = zeros(size(n)); % cond 3 by default % cond 1 ind1 = (0<=n & n...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Comparing curves to an original signal
hello again so the yellow curve can be shifted to match the purple one by using a linear equation like y2_shifted = = y2*a+...

plus de 4 ans il y a | 0

Charger plus