Respondida
Combine figures with subplots in new figure with subplots
hello Paul like this ? % Create first figure hf_sub(1) = figure(1); hp(1) = uipanel('Parent',hf_sub(1),'Position',[0 0 1 ...

más de 2 años hace | 0

| aceptada

Respondida
trouble making a notchfilter to remove a tone out of a wavefile
hello adapt this code to your needs you can apply multiples notches , simply create the list of frequencies here fc_no...

más de 2 años hace | 0

| aceptada

Respondida
issue during FFT of a discrete data
hello Hamid and welcome back again you can see below that fft and my home made DFT computations give the same spectrum. Also ...

más de 2 años hace | 0

Respondida
Using output of the fit function in further calculations
hello why not use the smoothed (low pass filtered) image as a new background and you remove that from the original image. In f...

más de 2 años hace | 0

Respondida
Can the arrow came directly following increasing OR decreasing behaviour of the curves
hello this is my suggestion the arrow generation is done after the two for loops , so it's done once instead of 6 times I ...

más de 2 años hace | 0

| aceptada

Respondida
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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 1

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

Respondida
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); ...

más de 2 años hace | 1

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

más de 2 años hace | 0

| aceptada

Respondida
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) ...

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 1

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 2

| aceptada

Respondida
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

más de 2 años hace | 0

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

Cargar más