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

environ 2 ans il y a | 1

| A accepté

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 1

| A accepté

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

environ 2 ans il y a | 0

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 0

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

environ 2 ans il y a | 1

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 0

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

environ 2 ans il y a | 0

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 0

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 1

| A accepté

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

environ 2 ans il y a | 1

| A accepté

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

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 2

Réponse apportée
How to turn S11 to time domain by Matlab
hello again I am mot sure to understand the shape of the impulse response from your S11_time.txt file : why only two positive...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Interpolation using data from excel sheet
hello I interpreted your request as : pick one month (from 1 to 12) then define whatever latitude query , and do the interpola...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Plotting a faired curve through a data set that curves in on itself
hello experimental airfoil data can exibit some randomness especially at high angle of attack (stall) we usually prefer to s...

environ 2 ans il y a | 0

Réponse apportée
Hi, i want to plot two columns of values of data from excel, the graph includes a zero while the excel sheet doesn't. Here is my code and the graph I got vs what I should get
hello again so your arrays contains 0 after row 22 til the end, that's why your plot goes back to the origin point (this was a...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How can I get more divisions in x- and y- axes scaling when plotting with imagesc to have a clear picture and introduce the proper scaling along x- & y- axes?
hello simply specify the number of points when you call linspace here I introduced N = 500 (N = 100 by default) N = 500; [x...

environ 2 ans il y a | 0

Réponse apportée
Clean noisy data from images
hello this is a simple exponential fit using polyfit I had to do a bit of manual tweaks first to slect the appropriate data ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Fit gaussian to X-Y data (one X column, multiple Y column), for each Y column from an excel file.
coming late in the show try this ... if your data is "good" you can this this result , otherwise the fit may not allow any F...

environ 2 ans il y a | 1

Réponse apportée
draw the amplitude-frequency characteristic curve of a particular transfer function
Simply used your info and coded in matlab you have now here the right half of the plot , if you need both negative and positiv...

environ 2 ans il y a | 0

| A accepté

Charger plus