Réponse apportée
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 ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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 %...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 2 ans il y a | 2

| A accepté

Réponse apportée
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)+...

plus de 2 ans il y a | 0

Réponse apportée
"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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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.^...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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; ...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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,...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
Split data based on column value to write in different sheets in excel
hello try this : data = [1 45 45; 1 34 46; 2 53 57; 3 34 83; 2 ...

plus de 2 ans il y a | 1

Réponse apportée
Estimating the parameter of a complex equation using maximum likelihood estimation (MLE) method
as i am lazzy, I tried first a simpler model with two decaying exponentials (one was insufficient) y = a.*exp(-b.*x) + c.*exp(...

plus de 2 ans il y a | 0

Réponse apportée
Frequency Response to IR calculation yields shallower Magnitude level?
hi I have done something similar in the past - see below FYI I start with a given FIR filter then computation of the transfer ...

plus de 2 ans il y a | 0

Réponse apportée
How to join a clothoid and an circular arc for a smooth transition?
hello see below your code fixed ; the only error is that when you create the constant radius (circle) segment , your initial a...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Create an array with only the increasing values of a pressure time series.
maybe this ? I don't see the benefit of removing the negative slope segments , this creates gaps in the signal was just sm...

plus de 2 ans il y a | 0

Réponse apportée
I have frequency sweep input signal x, and output signal y and want to know phase angle difference between them throughout the timeseries data.
Hello again I tried to extract the amplitude and phase of your x and y signals by "order extraction" , which here is simply a m...

plus de 2 ans il y a | 0

Réponse apportée
How to fill color between two curves?
hello see below FYI, your code does not need a for loop. Take advantage of matlab native vectorized operations % y1(1) = 0 ...

plus de 2 ans il y a | 0

Réponse apportée
How can I convert a .wav file to Pascals?
see here : Matlab Spectrogram: How to convert the dB values to SPL? - MATLAB Answers - MATLAB Central (mathworks.com)

plus de 2 ans il y a | 1

Charger plus