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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
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', '...

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
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);

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Matlab: select data from many DAT files and put them into one file
hello try this , it will loop in your folder and load all dat files I assumed here readmatrix is the right function to read...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Download all daily data (.nc) directly from the command window
hello Augusto this code will loop over all specified monthes (it determines automatically how many days are in the current mon...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
read specific data from a given row and column from table
hello maybe you need a function to give you start / stop time indexes based on threshold crossing like this clc clearv...

mehr als 3 Jahre vor | 0

| akzeptiert

Mehr laden