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

2 months ago | 0

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

2 months ago | 0

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 1

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 0

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

2 months ago | 0

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

2 months ago | 0

| accepted

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

2 months ago | 1

| accepted

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

2 months ago | 0

Answered
Calculate consecutive values from annual data to monthly have a yearly timetable (events(1X365)) and I want to find how many consecutive values are equal to 1 for every mont
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...

2 months ago | 0

| accepted

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

2 months ago | 0

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

2 months ago | 0

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 0

Answered
How do I fit a curve ?
hello a cardioid equation may be the solution but I have serious doubts you can fit a polynomial for this shape as I am lazy...

2 months ago | 0

| accepted

Answered
Plot only the outermost nodes
hello again I think I already answered this in your other post here again attached the new code

2 months ago | 0

| accepted

Answered
How to standardize an array so that the maximum value is 1 and minimum is -1 keeping the zero value as zero?
hello this can only be accomplished if you accept that the positive and negative parts of your signal are normalized by a diff...

2 months ago | 0

| accepted

Answered
I have multiple spread sheets with multiple sheets that I want to write an indexing data import function for
hello you can probably build your solution from this example I assume you want to concatenate the data from the 3 sheets ?...

2 months ago | 0

| accepted

Answered
finding singular outliers in the presence of data with steep changes but not singular
hello this is my result so far it will not look at the data in the first and last 10% of the time vector so thefocus is on t...

2 months ago | 0

Answered
Displaying multiple line plots with different y-values on same baseline
hello IMO, the simplest trick is to "normalize" your data by removing y(1) to each individual y array so that all lines start ...

2 months ago | 0

Answered
How can I plot frequency vs magnitude of the scalogram?. The input file is the M*N matrix that is a scalogram. Any one help me by providing MATLAB code.
hello the spectrum is either the mean or the peak value along the x direction of S see code example below you can change ...

2 months ago | 0

Answered
Matlab mixed IIR Filter
hello try this this can be genralizd for a arbritary sequence of x1 / x2 signals NB that a sampling frequency of 100 Hz is ...

2 months ago | 0

| accepted

Answered
Storing Variables in a loop to out put in a table
hello try this clearvars dt = 0.1;% t increment iter = 9; % iterations for ci = 1:iter time(ci,1) = 1+(ci-1)...

2 months ago | 0

Answered
I would like to use matlab to add information from a .dat file to existing MatLab variables
hello try this the text file used for my code is attached hope it helps filename = 'text.txt'; D=readlines(filename);...

2 months ago | 0

| accepted

Load more