Answered
convert the image sketch in to x,y boundary coordinate
hello try this hope it helps filename = 'image.png'; inpict = im2double(rgb2gray(imread(filename))); [m,n] = size(inpi...

28 dagar ago | 0

Answered
I want to know the method for removing excessive angle data.
hello @재혁 IMO , there is no need to use a for loop to compute 'indind' variable also nanmean is obsolete, you can use mean wit...

28 dagar ago | 1

Answered
How to produce a noise spectrum from an rms velocity specification?
hello maybe this ? here we generate 10 frequencies (sine waves) of 10 periods each I took a simple case where the spectrum ...

29 dagar ago | 0

Answered
Phase difference of two continuous signals.
hello maybe you could use this code once you have splitted the large signal into smaller chuncks x = 0:0.1:30; y1 = sin(x+0...

29 dagar ago | 0

| accepted

Answered
How to remove sidelobes using fdatool
hello i prefer to use an elliptic filter as it has a steep roll off after the cut of frequency (fc) here's the filter alone...

29 dagar ago | 1

Answered
Auto-completion and smoothing of incomplete 3D ring
hello maybe this ? load('3D ring.mat') x = data.Points(:,1); y = data.Points(:,2); z = data.Points(:,3); %% method 1...

30 dagar ago | 0

| accepted

Answered
Make the curves more smoother
Hello there are many options to choose from one way is to use matlab's smoothdata Smooth noisy data - MATLAB smoothdata - ...

30 dagar ago | 0

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

30 dagar 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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 ...

ungefär en månad 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 , ...

ungefär en månad 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 ...

ungefär en månad 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+[ -...

ungefär en månad 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...

ungefär 2 månader 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...

ungefär 2 månader 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 ...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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 = [...

ungefär 2 månader 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 ...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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;...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader ago | 0

| accepted

Load more