Answered
How to fill color between two curves?
hello see below FYI, your code does not need a for loop. Take advantage of matlab native vectorized operations % y1(1) = 0 ...

2 years ago | 0

Answered
How can I convert a .wav file to Pascals?
see here : Matlab Spectrogram: How to convert the dB values to SPL? - MATLAB Answers - MATLAB Central (mathworks.com)

2 years ago | 1

Answered
Matlab Spectrogram: How to convert the dB values to SPL?
hello I admit it's not always evident to know how n normalize spectrogram data , especially when now in the new matlab release...

2 years ago | 1

Answered
How Do I filter this zigzag wave?
following my comments above, if you use smoothn - File Exchange - MATLAB Central (mathworks.com) the 'robust' method can remove...

2 years ago | 0

Answered
How to load a txt file and save the workspace
you can create a structure D where all informations are stored (filenames and data) D = dir('*.txt'); % D is a structure array ...

2 years ago | 0

Answered
Why is the graph in this code becoming distorted?
hello maybe this ? I simply corrected one of your equation (looking at the one that follows , assumming the second was correct...

2 years ago | 0

| accepted

Answered
Identifying regions in matrix rows
hello I tried to put some code together and ended with that ; maybe interesting (?) it will detect the largest region for ea...

2 years ago | 0

Answered
How to solve error "Arrays have incompatible sizes for this operation?
hello I tried to understand what you wanted to do, and so far my suggestion is as follows : L=load("ver.mat"); t_6=(0:numel...

2 years ago | 0

| accepted

Answered
Calculating phase delay for one signal to have the same zero crossings
hello unfortunately you did not provide (attach) the functions you are sing to generate the waveforms nevertheless, see below...

2 years ago | 0

Answered
Plotting one value from a vector
hello simply change this figure(2); plot(t,L.ver); into : figure(2); channel = 50; % pick value between 1 and 100 plo...

2 years ago | 0

Answered
Heat Map Representation of error data
hello I could suggest these two solutions either based on the regular heatmap function and creating a specific colormap the...

2 years ago | 0

Answered
Hovmoller Diagram: longitude (x axis), time (y axis), and z(temperature values)
hello again I modified my code so it should work now on your data as I understand we have here only 12 months of data , so my...

2 years ago | 1

| accepted

Answered
Draw a curve defining the bounds of a scatter plot to detect anomalous (sparse or low density) points
hello maybe this ? I simply decided that I wanted the contour line corresponding to a level 5% of F range above the min valu...

2 years ago | 0

Answered
I need to identify between a healthy wheel and an unhealthy wheel. The data i have were measured using ADXL345 accelerometer
hello you need to learn how to read (load) data and do your signal processing there are more than enough examples availables...

2 years ago | 0

Answered
Hovmoller Diagram: longitude (x axis), time (y axis), and z(temperature values)
hello maybe this ? I created some dummy data to test my code hope it helps %% dummy data 609x881x372 (lonxlatxtime) aa...

2 years ago | 0

Answered
for loop arcgridread files
hello try this I didn't index Z and R with k, as I suspect you want to use it right after (inside the for loop) otherwise y...

2 years ago | 0

Answered
How to use PRBS signal to identify first order transfer parameters
hello see example below from the Bode plot you can easily extract the plant dc gain (here 10) and cut off frequency (fc = 50...

2 years ago | 0

Answered
Is there a technique to merge two peaks into one peak at the midpoint?
hello maybe this ? (a low tech approach...) load('data.mat') [m,n] = size(data); %% find the two peaks location MinPeak...

2 years ago | 0

| accepted

Answered
Read multiple txt files and save them according to their name
hello maybe this is what you want A is now a cell array of structure that you can further expand if you need , for the time ...

2 years ago | 0

| accepted

Answered
write function that generates an echo to audio.Why am i getting this error
hello you code can be simplified . Also an echoed signal means you add to the original a fraction (in amplitude) of the delay...

2 years ago | 0

Answered
Generate pinknoise with same power as audio
hello this would be my suggestion . You don't need to do a fft to get the power of a signal (you can compute it directly in ti...

2 years ago | 0

| accepted

Answered
I want to extract outer points of my plot(Chaotic Data Points) and plot it with the extracted outer points.
hello maybe this ? I needed to use a refine time increment dt (1/10th of the original value) so that the outer points are c...

2 years ago | 0

| accepted

Answered
Sine Wave Becoming Increasingly Choppy
hello your sampling rate is completely wrong You want to draw a 1000 Hz sine wave , so as pointed out already by @Image Anal...

2 years ago | 1

| accepted

Answered
enter values from 0 to N (imposed value) with step of 100 on the x-axis of the bar graph
hello Alberto welcome back ! i suppose you wanted to do this matrix = [64 440; 65 489; 66 581; 67 563]; figure hbh = bar...

2 years ago | 1

| accepted

Answered
Find the optimal value to maximize a function
Hi seems to me that R curves goes up as x0 goes closer to zero (but not rqual to zero otherwise you get Inf values) also all ...

2 years ago | 0

| accepted

Answered
Txt file into matrix while skipping certain lines but storing its data
hello please try this I am using readlog to load the data (worth the try) available here : readlog - File Exchange - MATLA...

2 years ago | 0

Answered
How can I take the average of certain columns in each excel sheets
hello Marion see my example below (the dummy excel file is attached) hope it helps % Importing Data from excel across mult...

2 years ago | 0

Answered
How to calculate 8 days mean from ten years data?
ok so we have to do the processing for each year and pay attention to the remaining (variable length) days NB that as we now h...

2 years ago | 0

| accepted

Answered
Fitting a model to my data using non linear least square fit method
hello try this , hope it helps results : m = 24.5179 q = 1.2078 data = readmatrix('LVD_AE.xlsx'); x = data(:,1...

2 years ago | 0

Answered
How to fit an equation (catenary equation in 2D) to a 3D dataset (experimental data of a catenary curve in 3D) ?
This is a lazy (tired) guy answer i figure out I could easily transform the 3D array into 2D then do a parabola fit (yes I know...

2 years ago | 1

Load more