Answered
Mean shift clustering - issue with finding the center of my clusters
hello Marco seems that your issue is simply because the function works for row oriented data see those lines in MeanShiftClus...

1 month ago | 1

Answered
autocorrelation plot without the grid of lines
hello you can remove the grid by specifying grid off after the plot Mdl = arima(AR={0.75,0.15},SAR={0.9,-0.5,0.5}, ... ...

1 month ago | 0

| accepted

Answered
how to make distance affect on attenuation factor?
hello again try this corrected code : [inwave,fs]=audioread("anechoic_voice.wav"); %LOW-PASS FILTER% % Define filter spe...

1 month ago | 0

| accepted

Answered
Help creating RMS Window
hello here some demo code FYI % dummy data n = 1000; Fs = 100; dt = 1/Fs; t=(0:n-1)*dt; y = max(0.707,abs(cos(t))+0.1*ra...

1 month ago | 0

Answered
How can I remove inverted repeat pairs of strings from a table?
hello Paul this would be my suggestion attached your data simply pasted in a text file hope it helps clc out = readcell(...

2 months ago | 0

Answered
How to remove unwanted region in a graph
hello see filloutliers , it was made for you Detect and replace outliers in data - MATLAB filloutliers - MathWorks France I...

2 months ago | 0

| accepted

Answered
Findings the parameters from the time series
hello here you are there is still a doubt in my mind for the third (last ) iteration for R3 according to your excel file th...

2 months ago | 0

| accepted

Answered
Find data from txt file
Simply using the suggested methods , you can access your DT data this way I simply created two data files from you post I u...

2 months ago | 0

Answered
How to seperate a superimposed sinusoidal wave from a signal
hello try the code provided below I found that the sinus signal frequency is probably around 0.5 and not 1 Hz therefore I u...

2 months ago | 1

| accepted

Answered
Signal Analyzer Lowpass filter overshoots input signal
hello again so here you can see your signals (in time and frequency domain) before and after low pass filtering (I used here fi...

2 months ago | 0

| accepted

Answered
Trying to ubderstand the power distribution in fft plot
hello the total power of the fft spectrum equals ~100W pow_spectrum_total = 99.9502 but your fft spectrum spread it on mul...

2 months ago | 0

| accepted

Answered
How to plot isosurface of for a wide range of values
as @Paul suggested, we can define several levels and display them on the same plot just having some fun with colors and transp...

2 months ago | 0

Answered
Plateau followed by one phase decay
hello a code based on the poor's man optimizer (fminsearch) no special toolbox required % data x = 0:0.5:20; y = [-0.137...

2 months ago | 0

Answered
Converting a three-column set of data to xyf matrix suitable for a contour plot
hello see example below, the x,y,z are dummy data - use your own data instead % create somme dummy data z = peaks(20); ...

2 months ago | 0

| accepted

Answered
How to interpolate and smooth across values in a matrix, while ignoring NaN values?
hello just for your information, if you have a recent matlab release you could use fillmissing2 function scan = [0.3 0.4 0....

2 months ago | 0

Answered
How to find the distance between two points along a curve?
hello try this th = linspace(-pi/2, pi/2, 100); R = 200; X = R * sin(th) ; % X-coordinates Y = R * cos(th) ; % Y-coordi...

2 months ago | 1

Answered
Get the Isocline from a know levelset plot (Contours) and the function output (Height)
here a demo if you have one isocline , here I assumed we want only the outer portion (there could be also an inner isocline at s...

2 months ago | 0

| accepted

Answered
How to avoid the overshoot in Jiles Atherton hysteresis loop
hello I am just trying to remove the spikes (with filloutiers) and further smooth the curve with a touch of smoothdata look a...

2 months ago | 0

Answered
Find intersections of two sin wave function
hello why not using this function available from Fex : Fast and Robust Curve Intersections - File Exchange - MATLAB Central ...

2 months ago | 0

Answered
Need to record multiple arrays within a while loop
indexing is what you need clear, clc year=0; salary=60000; poverty=19720; protected=poverty*2.25; while year<20 k = ...

2 months ago | 0

| accepted

Answered
How to do 'cos' curve fitting for data obtained.
hello you can do a cos/sin series approximation , using this simple code : here I opted for 6 terms : x_axis = [linspace(0...

2 months ago | 0

| accepted

Answered
how to plot the fundamental harmonic wave from given Data
@Abdullah hello here you have 4 periods of signal for theta range of 2pi , so order = 4 load('FluxDensity.mat') %%%%%%%%%%...

2 months ago | 0

| accepted

Answered
Create contour plot from scatter plot
hello sure you can do that notice that I needed to create lot of levels to display the outer contour line because your z dat...

2 months ago | 0

Answered
How to read all the files in a folder based on file name?
hello you can do a for loop to load all your files I am not sure what your issue is, but if it's how to make sure to load fi...

2 months ago | 0

| accepted

Answered
How can I plot the complete two circles vertical not horizontal ?
hello either you swap x and y data in your plot calls , or use view : figure(1),plot(sin((0:0.1:3*pi))) legend('original da...

2 months ago | 0

| accepted

Answered
How do I interpolate and smoothen ndvi time series?
hello so I simply replace the 8th column with NaN and replaced them using fillmissing2 data = readtable('sample_ndvi.csv'); ...

2 months ago | 0

| accepted

Answered
Error using tsa function - Error using matlab.internal.math.interp1 Sample points must be unique.
hehe there is only one difference between the two mat files , but it was enough to create the issue >> load('TSA_DATA_OLD.mat...

2 months ago | 1

| accepted

Answered
Blend two bezier curve using partition of unity property while ensuring interpolation
hello seems to me there is a simple solution to your problem - simply combine x,y data of both curves and use unique to remove...

2 months ago | 1

| accepted

Answered
How can I smooth this data before assigning a spline to it?
hello you could do this just using basic interpolation (in log scale) and the regular smoothdata (use your own spline smoo...

2 months ago | 0

| accepted

Answered
How to plot an Implicit function with certain conditions
hello @Shai Zipori I have to say I don't do much with implicit function problems , tried using fsolve and fminbnd but was lacki...

2 months ago | 2

Load more