Respondida
Finding sequences representing a sin-function in a timeseries
hello maybe this ? a simple approach based on signal envelope here I make a comparison using the matlab built in envelope f...

más de 3 años hace | 0

Respondida
how can I determine the system's rank so that I can find the transfer function
hello if you have a SISO system, there is no "rank" (this applies to MIMO systems) , or rank = 1 by default , unless your outp...

más de 3 años hace | 0

Respondida
How can I visualize by frequency for frequency range 0 - 70.87Hz? (EEG_1=3.8088)
hello try this this code split the entire signal is smaller chuncks of NFFT length, do the fft and average the spectrum als...

más de 3 años hace | 1

Respondida
Finding the first intersection point between 2 lines
hello try this code is fairly simple to use as you only have to specify the y threshold value threshold = 0.63*max(y); % 6...

más de 3 años hace | 0

| aceptada

Respondida
Superimposing x% RMS noise to a signal
hello hello the logic would be to add x % of rms noise to the rms amplitude of your clean signal so compute the rms value o...

más de 3 años hace | 0

Respondida
Why the same VSSLMS algorithm code not working for the seisimic data?
hello well, it is a bit converging with your data , but it's not "as good" as with a truly stationnary and ergodic signals we ...

más de 3 años hace | 0

| aceptada

Respondida
Copy and paste all lines from the first text file to another text file after certain line numbers
hello try this simply split and concatenate the strings then save the result for me with writematrix as I run R2020, wit...

más de 3 años hace | 0

| aceptada

Respondida
Change the position of a pie chart
hello try this X = [0.1 0.2 0.2]; subplot(1,2,1), pie(X); subplot(1,2,2), pie(X); set(gca, 'CameraViewAngleMode', '...

más de 3 años hace | 0

Respondida
How to shift a fitted curve such that it would coincide on some point
hello I simplified your code as I don't have the CFT but the principle is simple by simply applying a x and y shiift on you x...

más de 3 años hace | 0

Respondida
Splitting integers and floating values from a string in MATLAB
hello try this Str = readlines('ex.txt'); ind1 = find(contains(Str,'TABLE: "movements"')); ind2 = find(contains(Str,'EN...

más de 3 años hace | 0

Respondida
Error sending data to .xlsx (NetCDF)
hello Augusto just correct this line in your function "get_and_save_ncf_data.m": those nc files are daily data (time incremen...

más de 3 años hace | 0

| aceptada

Respondida
Plotting contour plots of R0 against two parameters
hello try this now beta and zeta must be vectors so that R_0 is a matrix (2D array) use contourf for the plot I let you c...

más de 3 años hace | 1

| aceptada

Respondida
Using the quiver3 function I get multiple not correct vectors. I want to plot a 3D vector stating from x=0, y=0, z=0 to x=4756/1121, y=4767/1121, z=0
Simply this : x=0; y=0; z=0; u = 4767/1121; v = 4767/1121; w = 0; quiver3(x,y,z,u,v,w);

más de 3 años hace | 0

Respondida
how to use audioOut ofter manipulation
hello ty this : clc clearvars %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % load signal %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% [...

más de 3 años hace | 0

Respondida
how to plot .mat file in time in xaxis and amplitude in y axis
hello this is my "every day" code for signal analysis (vibrations and noise) use it at your own convenience NB : you didn't m...

más de 3 años hace | 0

| aceptada

Respondida
how to add loop in this so that I can plot for 100 times and I will combine all in one plot.
hello simply turn your main code into a function a call it 100 times in a for loop clc clearvars close all ti = 0; tf...

más de 3 años hace | 0

| aceptada

Respondida
FFt analysis of human voice
hello your code is correct FYI, this one below gives you a deeper insight into the time / frequency content of a non station...

más de 3 años hace | 0

| aceptada

Respondida
Reading text file and searching for specific lines
hello again so I tried with the .out file you shared there are 10 blocks of data that correspond to you description (starting...

más de 3 años hace | 0

| aceptada

Respondida
How do I create a Weibull fit over an empirical cumulative distribution function (ecdf)?
hello this is the suggestion from the guy who has no toolboxes (almost !) alpha is a_sol in my code beta is b_sol M = 1 ...

más de 3 años hace | 0

| aceptada

Respondida
Parsing a text file with multiple data blocks into an indexed structure
hello I give it a try even though I do not consider myself as "real expert" in file parsing...but why not try... so here is i...

más de 3 años hace | 1

| aceptada

Respondida
How do I segment with stockwell transfrom (s transform) ?
hello this can be a starter... load signal, bandpass filter, look at spectral content and tune your filter to get best results...

más de 3 años hace | 0

| aceptada

Respondida
find the slope of a smooth curve at a point
hello I tried to do the entire process from the raw data to the drawing of the tangent line your amount of data is quite sign...

más de 3 años hace | 0

| aceptada

Respondida
is there a way to put the threshold line and count how many times the signal crossed the line?
Sure try this % dummy data n = 250; x = 5*(0:n-1)/n; y = cos(4*(x -0.5)); threshold = 0.2*max(y); % 20% of peak amplit...

más de 3 años hace | 0

| aceptada

Respondida
Pulse generation with variable frequency
hello it's a matter of how you implement the idea here one solution the attached model is a fixed step euler simulation ...

más de 3 años hace | 0

Respondida
Position error of motor shaft
hello you can make 2 pi complements on the error signal , following that logic if error < -pi then error = error + 2pi ...

más de 3 años hace | 0

| aceptada

Respondida
Modified Akima piecewise cubic Hermite interpolation contour plot
hello try this I took the liberty to first smooth the data before doing the interpolation - you can adjust the amount of smo...

más de 3 años hace | 1

| aceptada

Respondida
Using my data and current code, how would I create polarhistograms for wave data?
hello well , I am not using polar histograms very often , but it seems to me the function polarhistogram does not allow any k...

más de 3 años hace | 0

Respondida
Calculate values from data to monthly
hello well a simple for loop will do the job your result in now an array of length 12 : Max_conseq load('events.mat') fo...

más de 3 años hace | 0

| aceptada

Respondida
ISO 2631 Acceleration filter
hello found this , but as I don't have the ISO standard to double check , use at your own risks %ISO 2631 standard filter %...

más de 3 años hace | 0

Respondida
Create combined polar coordinates function
hello it seems to me there is a straightforward solution to your problem by using this Fex submission : Curve intersections -...

más de 3 años hace | 0

| aceptada

Cargar más