Réponse apportée
Average of data multiples excel sheets
hello so this is my suggestion as we have here 10 sheets , my demo works for either groupped 2 or 5 sheets this is driven ...

presque 5 ans il y a | 0

Réponse apportée
Could anyone help me with my Butterworth filter?
hello your filter specs and the realized filter are matching now it seems to me you're looking for a "brick wall" filter c...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
time delay between sinus signal
hello my suggestion below the time values of the crossing points are linearly interpolated between samples for maximal time ...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
Count consecutive elements in an array
hello try this : A = [1 1 1 1 2 2 2 4 4 4 4 1 1 1 1 2]; % A = [1 2 2 4 4 1 1 2]; %% main code p=find(diff(A)~=0); s1 ...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How to select and read csv data file using uigetfile?
hello if you want to grad multiple files with uigetfile, you can do that : % It is important to grab the files in ascending ...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
What is the best way to fixe number jumps in GPS/IMU Data Plot
hello why not apply a smoothing filter - there are many options, maybe start with smoothdata example code : clc close all ...

presque 5 ans il y a | 0

Réponse apportée
I want to make a function of x that uses loop for (x-x(i))
hello my 2 cents suggestion : %% x = [1 3 5]; a = 2; b = 3; %%%% main loop strc = []; for i = 1:3 str = ['(x-...

presque 5 ans il y a | 0

Réponse apportée
I use matlab to draw the curve between the ID and VDS of the transistor, but there is a jumping point in the middle. How can I smooth the curve?
hello this would be my suggestion; replacing a segment between Vds = 0.5 and 1.5 with its smoothed version Vgs=1.5; W=3*10...

presque 5 ans il y a | 0

Réponse apportée
How to modify range of loglog scale?
hello suggestion below : x = (0.1:0.1:50); y = 0.1+0.1*exp(0.1*x); xmax= 30; dx = 5; loglog(x,y); set(gca,'XLim',[1e-...

presque 5 ans il y a | 1

Réponse apportée
How to make a plot of iteration count vs residual error?
Hello iter was not initialized nor incremented in your loop this should work now (could not test it as variables are not init...

presque 5 ans il y a | 0

Réponse apportée
Create functions in loop for increasing input
hello my suggestion : work with one structure S that can grow in size inside your for loop but you have only one argument (S)...

presque 5 ans il y a | 0

Réponse apportée
Plot function behave differently when only using line versus only using markers when plotting data with NaN values
Removing the NaN data will not do any harm on the dot plot, but the solid line will not have the gap anymore % fix ? B = A; B...

presque 5 ans il y a | 0

Réponse apportée
How to extract value from a txt file and replace it
hello again this is a first trial It will change the numerical value before BlPitch on ach of the 3 lines but I think we ha...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How to synchronise two time series data with different sampling time in MATLAB?
hello see my suggeston below the new common time vector is sampled with only N = 100 here , but you can adjust this to your ...

presque 5 ans il y a | 0

Réponse apportée
How to fit curve using for loop?
hello again in the mean time I created this example (only 5 loops) on dummy data you can easily expand and adapt it to your o...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
Converting Audio File to Sound Wave (How to Add X and Y Variables for Curve Fitting and PlotWave not being read?) It worked before, but not working right now! Help please!
hello In case of trouble , I share my own piece of audio (wav files) processing good luck clc clearvars %%%%%%%%%%%%%%%%...

presque 5 ans il y a | 0

Réponse apportée
Could anyone help me to fit y=1/x on my data?
hello here you are my friend plot code clc close all clearvars hold on grid on set(gca,'fontweight','bold','font...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
plotting exp given function with db units
here you are , my friend ! SINR_dB = (-5:20); y = 0.3*exp(-0.08*SINR_dB); plot(SINR_dB,y,'b','LineWidth',4); ylim([0 0.8]);...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
LogLog Plots for Newton's and Secant Methods
hello here the first code now showing the regular linear plot and a loglog plot I changed the N to 100 and tol to 1e-20 to h...

presque 5 ans il y a | 0

Réponse apportée
How to remove warning message when we read csv file?
hello simply add this line at the start of your code : warning off

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How to draw spectrogram plot for the csv data set
hello see the attachement code - just adapt the loading of the data to you file format

presque 5 ans il y a | 1

| A accepté

Réponse apportée
Why does notch filter coefficients have 10(5 numerator and 5 denominator) for butterworth order 2
hello your IIR filter size is much bigger than needed for an order 2 see example below (search for the notch filter ) % %...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
two animated lines simultaneously with different number of sample
hello I am not sure to uderstand what kind of result you want to achieve , maybe this little demo can help you clearvars cl...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
display gait cycle in matlab
hello this is not really a matlab question ... you have to know the sensivity of the sensor - whatever you measure , you nee...

presque 5 ans il y a | 1

Réponse apportée
How to get accurate displacement/position from acceleration data?
hello I see the same question coming quite often.... when doing acceleration data integration, it is very important to calibra...

presque 5 ans il y a | 0

Réponse apportée
Setting different xlim for subplots
hello maybe this ? a=-180:1:180; b=sind(a); c=cosd(a); figure(1) xlimits = [0 180;-180 0]; for i=1:2 subplot(2,2...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
Spectrogram - changing frequency range.
hello to get a "better" spectrogram you can first decimate the input signal so that the frequency range is reduced (like a ff...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How to reproduce the example figure using lsqcurvefit
hello well, if the question is only about how to use lsqcurvefit, my answer is not gotta help you because I'm using either fmi...

presque 5 ans il y a | 0

Réponse apportée
Trying to get a list of the different variables in a column
hello if I understand correctly, you want to extract the list of unique values of the "five" column and store that in an array...

presque 5 ans il y a | 1

Réponse apportée
How to generate Pulse Frequency Modulated (PFM) waveform?
hello again so I created this simulation (see attachement) where the counter output is modulated by the frequency input the ...

presque 5 ans il y a | 0

| A accepté

Charger plus