Answered
Im struggling with how to properly format my table.
hello Emily see attached a few matlab functions that can help you in displaying nice looking tables all the best

2 years ago | 0

Answered
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 ...

2 years ago | 0

Answered
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 :...

2 years ago | 1

| accepted

Answered
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...

2 years ago | 1

| accepted

Answered
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...

2 years ago | 0

Answered
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 ...

2 years ago | 0

Answered
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...

2 years ago | 0

| accepted

Answered
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 ...

2 years ago | 0

| accepted

Answered
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...

3 years ago | 0

Answered
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 ...

3 years ago | 0

| accepted

Answered
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 %...

3 years ago | 0

Answered
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...

3 years ago | 0

| accepted

Answered
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...

3 years ago | 1

| accepted

Answered
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...

3 years ago | 1

Answered
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...

3 years ago | 0

| accepted

Answered
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 ...

3 years ago | 2

| accepted

Answered
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)+...

3 years ago | 0

Answered
"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...

3 years ago | 0

Answered
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...

3 years ago | 0

| accepted

Answered
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...

3 years ago | 1

Answered
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...

3 years ago | 0

| accepted

Answered
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.^...

3 years ago | 0

| accepted

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 1

| accepted

Answered
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; ...

3 years ago | 0

Answered
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...

3 years ago | 1

Answered
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...

3 years ago | 1

Answered
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...

3 years ago | 0

Answered
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,...

3 years ago | 0

Answered
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...

3 years ago | 0

Load more