Answered
Loop outputting deleted object?
hello and welcome back again @S I see the added code below figure(4) is a copy paste from some older code , so this line is inc...

2 months ago | 0

| accepted

Answered
Open and reformat data from txt file
hello seems to me there are multiple data sets (71) that are separated by lines having only two values (starting with "50" lik...

2 months ago | 0

Answered
Algorythm for Average of excel data
hello again well, this is quite the same as my answer to your other post Please share the algorithm of the particular data s...

2 months ago | 0

Answered
Converting entries from array to double from an entire column in a matrix for plotting
hello here you are D=readtable('tempDataTrollhFlygpl.xlsx', 'NumHeaderLines', 10) % anger 10 rubrikrader slik at jeg kan eks...

2 months ago | 1

Answered
How to add rows to a blank table, created by an excel import which only contains headers
hello why not this ? I simply used readcell to get the variable names from the excel file then populated the table (tehn you c...

2 months ago | 0

| accepted

Answered
How can I mirror a plot from a specific x axis.
maybe this ? x=[ 0.00630656 0.00615694 0.00602694 0.00593928 0.0058094 0.00566972 0.00552689 0.00523467 0.00493265 0...

2 months ago | 0

Answered
Editing csv data and convert it into a table
i know it's not the cleanest approach , but it works (at least) out = importdata('EnergyLIS.csv'); % cell array % now a bit ...

2 months ago | 2

Answered
How to extract data only along a path consisting of multiple longitude and latitude pair points using MATLAB
ok, this is just to expose the principle... still I need from you the correct lon, lat range for the EXTCOFF_model basically , ...

2 months ago | 0

| accepted

Answered
How is Spectrogram function working?
see my demo code below , which replicates the principle of spectrogram split the signal (with overlap) apply window fft ...

2 months ago | 0

Answered
Comparing 2 histograms in a barh-plot
hi seems to me the way you build your y data matters y = 5+[ 5 5;-5 -5]'; NO y = 5+[ -5 -5;5 5]'; YES x = [1 2]; y = 5+[ -...

2 months ago | 1

Answered
Multiple shaded spans on a time series plot dependent on a condition for separate time series data
hi see demo code below - hope it helps % dummy data x = 0:99; y = 1 + 0.02*sign(sin(1+x/25 + x.^2/250)) ; % y data y0 = 0...

2 months ago | 0

| accepted

Answered
Discrete Time Integrator does not integrate every time step
hello hmm, maybe your "blue" spikes are not all perfectly matching the 0.01 s time spacing and then your integrator see no in...

2 months ago | 0

| accepted

Answered
FFT doesn't give desired frequency response
hello there are different estimators used to compute a transfer function using just the ratio of two FFT is doable but does ...

2 months ago | 0

| accepted

Answered
Extract Numbers from Mixed string
hello i supposed you wanted to do this : B='single snap detector: 1 S2L:232867 S2R:3151621 S3L:0 S3R:0' % pat=regexpPattern...

2 months ago | 0

Answered
How to put linspace data into if statement
Suggestion : theta = linspace(0,2*pi,50); p = pressure(theta); figure; plot(theta, p); ylim([0 3]) function phase = pre...

2 months ago | 1

Answered
Plot 3d points in a map
hello not an user an neither an expert of geoplot and alike , but maybe this helps x = [47 50 55 61]; % lat y = [...

2 months ago | 0

Answered
Why is matlab printing all number of digit.
your y data have all same value so the plot y scale is zoomed with a huge factor, that's why you get so many decimals in the y ...

2 months ago | 0

| accepted

Answered
Plot time series of two set of data
hello I started this , but I am unsure about how the dates / time is coded in your data (as I discovered , HadGEM2 has to do w...

2 months ago | 0

Answered
Series Filter Loop Error
hello again so I wanted to learn a bit about gammatone filters , so I read this , which I suppose i also from where you starte...

2 months ago | 0

| accepted

Answered
How to get all values of for loop to make a graph?
@Minh Hoang Walter is right, this is the correct way to implement you idea also E equation must be inside the for loop and in...

2 months ago | 1

| accepted

Answered
Fill the graph with legend
hello patch or fill can be used for the job here an example with fill % dummy data x = 0:50; y = exp(-x/10) ; inter = 1;...

2 months ago | 0

Answered
I am trying to do bilinear curve fitting of capacity curve using FEMA-356 procedure. I am providing the data in excel format of the curve.
hello @Mark Cuanan and welcome back so this is it - still there could be some improvement in the code like putting the big po...

3 months ago | 0

| accepted

Answered
error size regarding contour plot
hello I believe this is what you wanted to do I don't see why you needed the reshape action unzip('Simulation.zip'); fi...

3 months ago | 0

| accepted

Answered
Why do I get "Array indices must be positive integers or logical values" when I am trying to plot my functions?
hello 1/ matlab is a language where indexing is 1 based and not zero based 2/ next correction is that y must be computed once...

3 months ago | 1

| accepted

Answered
Narrow band to third octave band conversion
hello I think I already answered a very similar question in the past anyhow , this is one liitle function I wrote long time ...

3 months ago | 0

Answered
Inquiry of file name as string format for Lua
hello you can do a horizontal concatenation of char or string using strcat Concaténer les chaînes de caractères horizontaleme...

3 months ago | 0

| accepted

Answered
Cycle by Cycle Average of switching signal in SIMULINK
hello I would suggest that any well designed low pass filter after the PWM signal should give you the original waveform here ...

3 months ago | 0

| accepted

Answered
MATLAB's boundary function does not return the boundaries of the polygon
with the Fex submission i mentionned above Boundary extraction (identification and tracing) from point cloud data - File Exchan...

3 months ago | 0

| accepted

Answered
How to make distubance like this?
looks like a square wave modulated by an decaying exponential envelope fine tune the parameters to your own needs : tau = 0.1...

3 months ago | 0

| accepted

Answered
rmoutliers and graph of the cleaned data
hello @Giuseppe Zumbo for the time being I have not used any fancy outlier removal technique , it's simply field engineer's bra...

3 months ago | 1

Load more