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

casi 5 años hace | 0

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

casi 5 años hace | 0

| aceptada

Respondida
time delay between sinus signal
hello my suggestion below the time values of the crossing points are linearly interpolated between samples for maximal time ...

casi 5 años hace | 1

| aceptada

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

casi 5 años hace | 0

| aceptada

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

casi 5 años hace | 1

| aceptada

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

casi 5 años hace | 0

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

casi 5 años hace | 0

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

casi 5 años hace | 0

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

casi 5 años hace | 1

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

casi 5 años hace | 0

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

casi 5 años hace | 0

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

casi 5 años hace | 0

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

casi 5 años hace | 0

| aceptada

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

casi 5 años hace | 0

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

casi 5 años hace | 0

| aceptada

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

casi 5 años hace | 0

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

casi 5 años hace | 1

| aceptada

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

casi 5 años hace | 0

| aceptada

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

casi 5 años hace | 0

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

casi 5 años hace | 0

| aceptada

Respondida
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

casi 5 años hace | 1

| aceptada

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

casi 5 años hace | 1

| aceptada

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

casi 5 años hace | 0

| aceptada

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

casi 5 años hace | 1

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

casi 5 años hace | 0

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

casi 5 años hace | 1

| aceptada

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

casi 5 años hace | 0

| aceptada

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

casi 5 años hace | 0

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

casi 5 años hace | 1

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

casi 5 años hace | 0

| aceptada

Cargar más