Respondida
Audio distortion using IIR filters for an audio equalizer
hello simple correction % Convert to SOS matrix [sos] = zp2sos(z,p,k); filtered_audio = sosfilt(sos, input_audio); and ...

más de 2 años hace | 0

Respondida
How to use 2D FFT to remove horizontal noise from the image
hello you can start with simple 2D filtering here some examples you can easily try once you have dowloaded those functions :...

más de 2 años hace | 1

| aceptada

Respondida
How to simulate a signal with a slow (sinusoidal) drift as experimental input for an app?
hello again this would be my suggestion now , we are looking at very high frequencies so I wonder what signal duration you ar...

más de 2 años hace | 1

| aceptada

Respondida
Linear regression on data with asymmetric measurement error
hello Katrina maybe this ? you can force the mean curve to get closer from either the upper or the lower bound by adjusting t...

más de 2 años hace | 0

Respondida
Hello, I need help interpolating data with two lines for each baffle cut percentage in MATLAB. How to select and interpolate the right line automatically based on user input?
hello @Subathra Nilamegan as far as I understand , when you say your data has two line you mean for example the left and right ...

más de 2 años hace | 0

Respondida
How to move data from cells in a cell in a destinct column (importing CoDeSys variables)
hello maybe this ? where the lines in your file do not have initial values , I inserted a zero in 3rd position ; this is don...

más de 2 años hace | 0

| aceptada

Respondida
Calculating the directional and magnitude frequency of wind at specific angles
hello well, your code looks a bit strange to me first error is that find does not operate on table elements. You could have ...

más de 2 años hace | 0

| aceptada

Respondida
How to calculate the Rolling Average or "moving mean" of a matrix.
hello see simple code below I first created a dummy 2D array of 60 rows and 4 columns, but in fact it's just one vector of d...

más de 2 años hace | 0

Respondida
matlab smoothing data problem
hello I am not sure to understand your plot and where the transition land / water can be seen nevertheless , if you need to ...

más de 2 años hace | 0

| aceptada

Respondida
How to omit narrow variances in data
seems to me that smoothdata with movmedian method is appropriate , which in fact is also what @Walter Roberson also suggested %...

más de 2 años hace | 0

Respondida
Good color scheme to represent 3 surfaces in one plot
Maybe this ? I played with the transparency (facealpha) so that the lowest surface would be more opaque and then the ones above...

más de 2 años hace | 0

| aceptada

Respondida
Require the displacement and velocity dataset from the acceleration dataset
hello try this I assumed your data are in g's maybe this must be changed according to your sensor sensivity / acquisition st...

más de 2 años hace | 1

| aceptada

Respondida
Fourier: Why does a signal composed by 3 frequencies sound different when played compared to playing all 3 frequencies seperatly and simultaneously?
hello I am not using much audioplayer and alike , but I guessed there was a problem with the amplitudes set above 1 , this pro...

más de 2 años hace | 1

Respondida
Reproducing signal by it's first 40 harmonics
hello try this I computed first your signal frequency then the ahrmonics complex amplitudes . From there you can easily gene...

más de 2 años hace | 0

| aceptada

Respondida
Ploting temperature evolution in a multi-layer tyre
maybe this ? I assumed your data has columns = layers and the rows spans the angular position between 0 and 2pi as a result ...

más de 2 años hace | 2

| aceptada

Respondida
Unable to perform assignment because the left and right sides have a different number of elements. Error in y_vector(k) = Fk + r* e1* y_vector(1)+ r* (B
hello seem to me there is an issue with y_vector update as you add Fk (array size 1x10) with the rest (+ r* e1* y_vector(1)+...

más de 2 años hace | 0

Respondida
"Error using mesh: Z must be a matrix, not a scalar or vector."
hello I figured out that there are a few issues in the code , so I commented the lines where I found a bug or missing / not de...

más de 2 años hace | 0

Respondida
automaticaly define calibration parameter to the workspace through read the m file
hello maybe this ? see my dummy calibration file attached (it's a txt and not a m file) I simply created a second line wit...

más de 2 años hace | 0

| aceptada

Respondida
Transfer Function to State Space Using Prediction Error Method
hello a tried some coding around your data I don't know why you have "accuracy" problem when you go from TF to SS models h...

más de 2 años hace | 1

Respondida
how to use dsp.AudioFileWriter to write 24b bit depth audio?
Hi change DataType properties from int16 (default) to int24 Stream to audio file - MATLAB - MathWorks France Properties exp...

más de 2 años hace | 0

| aceptada

Respondida
3D plot for polynomial
hi see meshgrid and surf documentaion [x,y] = meshgrid(-2:.2:2,-4:.4:4); z = 3*x.*y.^3+ 2*x.^2 .*y.^2+ 6*x.*y.^...

más de 2 años hace | 0

| aceptada

Respondida
Discontinuous y axis and dual y axis combined in one plot
a lazy answer - use yyaxis in a y log scale so you still see the outliers group aside from the main data but no fancy axis break...

más de 2 años hace | 0

Respondida
PosePlot - Y and Z Axes cannot be reversed
hello well , your Y and Z directions are already 'reverse' in first place, while Xdir was 'normal' so if you wanted to chang...

casi 3 años hace | 1

| aceptada

Respondida
How to draw a rectangle around the area that shows an energy variation
hello try this IMO, the rectangle position is to be computed from your spectrogram results (define thresholds) Fs = 1e3; ...

casi 3 años hace | 0

Respondida
How do I plot the intersection of two inequalities?
try this : [x1,x2] = meshgrid(-10:0.02:10,-10:0.02:10); z = x2 - 8./x1; cond1 = x1./5 - x2 >= 0; cond2 = 16 - (x1-5).^2 - x...

casi 3 años hace | 1

Respondida
record series of frequencies into file, then read file on spectrogram
hello my friend here you are I simplified a bit your function (ne need to create extra variables that we don't use anyway) a...

casi 3 años hace | 1

Respondida
Why are continuous wavelet transform (cwt) and short-time Fourier transform (stft) functions giving such different results here?
hello I don'thave access to the toolbox that you are using but I am using another cwt code I probably found on the Fex (attach...

casi 3 años hace | 0

Respondida
Convert cell of mixed real and complex numbers into double
hello try this don't remember where I found this code , probably in the Fex section. many thanks to his creator ! oh, yes,...

casi 3 años hace | 0

Respondida
reading images from different folders
hello maybe this ? I created some "input" folders where the images are stored (those folders are supposed to have "in" in th...

casi 3 años hace | 0

Respondida
Read data with repeat counts
hello maybe this ? data_string = "750.013 2*748.943 2*748.221"; % data imported as string array data_string2 = split(data...

casi 3 años hace | 1

Cargar más