Answered
How can I find where those indesirabe plots are from ?
hello maybe this ? %% Ids(Vds) %% mu=10; Cox=3.9; W=360*(10^(-9)); L=180*(10^(-6)); K=(mu*Cox)*(W/L); Vth=1; vds=0...

ongeveer een maand ago | 0

| accepted

Answered
how to extract coordinates from g code files
hello tried a few things , this is my suggestion for the time being . Not 100% sure it's the best code , maybe someone else wi...

ongeveer een maand ago | 1

Answered
Impedance calculation using FFT from time, voltage and current battery data
hello should be possible using tfestimate function alternative (older) code : x and y are your time domain data (x = inpu...

ongeveer een maand ago | 0

| accepted

Answered
How can I convert an .xls spreadsheet to FFT format?
hello try this code . It will do averaged FFT (with overlap) and time / frequency spectrogram a few mods need still to be do...

ongeveer een maand ago | 1

| accepted

Answered
Error in using eval with num2str
hello your method works only for integers otherwise you have to round your numbers with a given number of decimals befoe it h...

ongeveer een maand ago | 0

| accepted

Answered
How to get xticklabels from xticks by merging cells?
hello here you are my friend : Xticks = [1,2,3]; tmp = num2str(Xticks); Xtickslabels{1} = tmp;

ongeveer een maand ago | 0

Answered
Divide and plot signal parts
finally, decided to give it a try .... your neg data in red (added for fun the positive segments as well in green) %% dum...

ongeveer een maand ago | 0

| accepted

Answered
Audios doesn't looping right
hello I a not sure what you mean by "download " audio files I interpreted your post as simply looping over a folder and stor...

ongeveer een maand ago | 0

Answered
Trying to identify certain peaks in a plot
hello I have reworked your code check this : %% Plot of Undamaged Specimen % na=readmatrix('Default Dataset (4).csv');...

ongeveer een maand ago | 1

| accepted

Answered
changing frequency of an existing audio
hello the question is not 100 % clear to me if you want to play the same signal to a different pitch , you can simply do ne...

ongeveer een maand ago | 0

| accepted

Answered
fourier Transformation of the signal from a motor
hello this is my suggestion for your application (the fft is done one multiple data chuncks of NFFT length with overlapping , ...

ongeveer een maand ago | 0

| accepted

Answered
How to cut data after defined number of peaks?
hello Hannah here you are - blue start / end points defined by your preferred peakseek function NB : the blue points are not a...

2 maanden ago | 0

| accepted

Answered
Question about using the "fit_mutiple_gaussians" from File Exchange
here the code a bit simplified but the results with a 4 gaussian model does not really fit well. I think this come mostly from...

2 maanden ago | 0

| accepted

Answered
How can I find the angle (from the vertical) between two points?
hello jeremy small typo in your code the angle is given by : atand((x1-x2)/(y1-y2)) and not atand((x1-x2)-(y1-y2)) so...

3 maanden ago | 0

Answered
filtering data inside a table and storing multiple tables in one big table
hello you can probably make the all process much simpler with only one main for loop (iteration over the files) and one if con...

3 maanden ago | 0

| accepted

Answered
getting the index after comparing two logicals
hello see code below : a = logical([1 0 0 0 1]) b = logical([0 0 0 0 1]) c = a & b col_c_is_one = find(c) gives the fol...

3 maanden ago | 0

Answered
How to plot these types of plot?
hello see my demo below. Change the profile and data scaling accorsing to your needs hope it helps figure(3) plot : code ...

3 maanden ago | 0

| accepted

Answered
Interpolating(or averaging) Time series curves
hello in your case it's fairly simple as both blue and red curves have exactly the same y values (but for different x) so yo...

3 maanden ago | 1

| accepted

Answered
signal processing of real time signal
hello again !! FYI this is simple code for time domain acceleration to velocity / displacement integration (data file attached)...

3 maanden ago | 0

| accepted

Answered
Assign custom interval to the color map z axis of a surf plot
hello try my little demo the colorbar is "frozen" so that ticks / tickslabels do not vary acccording to data range. In other...

3 maanden ago | 0

Answered
How to filter breath noise in audioļ¼Ÿ
hello i opted for a strategy based on the spectrogram content. I noticed that the "breathing" sections are characterized by a ...

3 maanden ago | 1

| accepted

Answered
How to plot it?
hello simply replace the negative values of b by NaN so the vector size remains the same a=[1;2;3;4;5]; b= [-10;10;0;20;-20]...

3 maanden ago | 1

Answered
Count impulses into sequence of impulses and segments of sequences of impulses from signal
hello again so this is my attempt... not maybe the shortest and most efficienct code , but seems to do what I wanted so we ca...

3 maanden ago | 1

| accepted

Answered
How I could solve the for loop problem?
hello tried to fix quite a large amount of bugs still don't understand why you need a second for loop as obviously it could ...

3 maanden ago | 0

| accepted

Answered
How to create structs with text data
hello check my demo code below : clc clearvars mylines = readlines('exampledata.txt'); % [m,n] = size(mylines); % gr...

3 maanden ago | 0

Answered
I need to read a specific column from 30 files in a folder (read the same column from each of them) and plot each column as a line. How can I go about it?
hello Agustina see code below : % use the structure returned by DIR: P = cd; % working directory S = dir(fullfile(P, 'Powe...

3 maanden ago | 1

| accepted

Answered
Create a better plot
hello maybe you want to make an animated line demo : %% create animatedline object / handle figure h1 = animatedline; ...

3 maanden ago | 0

| accepted

Answered
how to calculate fast Fourier transform with a 128-point window on these data with non-uniform sampling frequency
hello see my suggestion below the result is in Area clc clearvars load('DATA3.mat'); t3 = data3(:,1); %% uniform re...

3 maanden ago | 0

| accepted

Answered
How to cut ASCII file with matlab ?
hello Mathieu this would be my suggestion - create a structure with field names taken from your data file - See the function...

3 maanden ago | 0

| accepted

Answered
How to extract the maximum value of an area of a figure?
hello so your data is a matrix (hrms) what is the dimension of hrms ? you are probably confused between the range of that y...

3 maanden ago | 0

Load more