Réponse apportée
How can I plot multiple signals separately as like mentioned figure for avoiding this three signals overlapping?
the solution is : Stacked plot of several variables with common x-axis - MATLAB stackedplot - MathWorks France

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
How to find duration of peaks/valleys in chart
hello I have nothing against findpeaks but I prefer sometimes other solutions that are simpler and faster - therefore I usuall...

plus de 2 ans il y a | 1

Réponse apportée
I have a problem with my script. I would like to extract pH data from the coast of Cameroon or the Gulf of Guinea. Can I have some ideas on what is bugging my script and a cor
hello the provided nc file contains a lot of NaN data so don't be surprised here to get most of the time NaN as a result to y...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Draw angled ellipses around clusters on PCA plot
hello like this ? Plot ellipse on scattered 2D data - File Exchange - MATLAB Central (mathworks.com) see files in attachmen...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
plot the fundamental harmonic wave
hello again so this is it, we do a single frequency DFT (aka order extraction) at the second harmonic (as we have two period of...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Linear fit in loglog plot
hello maybe this ? you can make a much more compact code , as shown below : struct_load = load('mystruct.mat'); xdata = s...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to save the result of each loop separately
hello some solutions : y = [3 4]; for k=1:length(y) % solution 1 : store as cell array x{k} =zeros(y(k),2); ...

plus de 2 ans il y a | 1

Réponse apportée
Extracting portions of data using indices
hello Alexandra and welcome back ! I tried this , let me know if it's what you needed the output cell (Gait_cycles) contain ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to detect & fitting curvature from the binary image?
hello this would be my suggestion, based on this Fex submission : smoothn - File Exchange - MATLAB Central (mathworks.com) ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
I want to calculate the Moving RMS on first break pics for seismic data.
hello again see below , now you have the RMS values displayed in the legend (or you wanted to make a separate plot ? ) % De...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
k-means segmentation for Raman analysis
hello I get something quite different from your expectation first I looked at first group of excel files coordinates_group1....

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How do I create a matrix that is only the frequencies within the COI of a wavelet transform coherence?
so now the final code the idea is to create a mask so that wtc values that lies below the coi curve are zeroed % specific co...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Why is the filtered signal mirroring the raw one ?
hello I think what you interpret as "mirrored" peaks is just pure luck, for the good reason that there are no scientific reaso...

plus de 2 ans il y a | 0

Réponse apportée
How do I optimize graph size?
hello first idea would be to use a Y log scale so it would reduce the black curve peak and you would see better the blue and r...

plus de 2 ans il y a | 0

Réponse apportée
How to find time of rising and falling edges
hello see file attached , this is a good starting point here we want to measure (in samples) the time difference (period) be...

plus de 2 ans il y a | 0

Réponse apportée
How to animate a mesh plot of a cylinder to expand and contract along the X-axis using a sine wave?
hello maybe this ? t = 0:0.01:2; % homogenous radius variation f = 1; a = 0; % see the effect with a>0.5 x = a*sin(2*p...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Creating multiple plots in one graph from multiple .txt files
hello try this : d = dir('NW*.txt'); % d is a structure array that contains the list of all txt files starting with NW ...

plus de 2 ans il y a | 0

Réponse apportée
Lines of magnitude plot of bode diagram
hello try this - hope it helps I opted for the convention of 3 dB below the peak amplitude point (which is not the 0 dB) but...

plus de 2 ans il y a | 1

Réponse apportée
how to generate different curves(data) from one?
hello I used the equations as they appears in the attached image . I thought that would be better rather than trying to derive...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to plot a surface with lat, lon and depth?
hello @Francesco I wanted to show you how to use trisurf on scattered data but my example failed as it seems your data represen...

plus de 2 ans il y a | 0

Réponse apportée
I need to determine the no. of loops and area under each loop from the xy plot.
hello with the help of this FEX submission, it was quite simple : Fast and Robust Self-Intersections - File Exchange - MATLA...

plus de 2 ans il y a | 2

| A accepté

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

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 1

| A accepté

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

plus de 2 ans il y a | 1

| A accepté

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

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 0

| A accepté

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

plus de 2 ans il y a | 0

| A accepté

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

plus de 2 ans il y a | 0

Charger plus