Beantwortet
3D curve fitting
hello again I can make you this suggestion I devised that your curve could be parametrized by these 2 equations : z = a + b...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Perform peak fitting, find peaks and label, and integrate certain areas
hello fixed some minor bugs hope it helps % Load Raman data from a text file data = readmatrix('03--Spectrum--006--Spec.D...

fast 3 Jahre vor | 2

Beantwortet
What to do in matlab when working with images
hello first code example : %% Initalize the data dataDir= fullfile(pwd); % select appropriate directory exts = {'.jpg','...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Batch processing images for downsampling
hello see example below - adapt to your own needs %% Initalize the data dataDir= fullfile(pwd); % select appropriate direc...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Frequency response using input and output parameters only.
hi you can make a FRF plot of an unknown system from input / output data with tfestimate (requires the Signal Processing Toolb...

fast 3 Jahre vor | 0

Beantwortet
Formulating a part of a given circle
hello try this i let you double check that the segment has only unique values on the x axis and do match L and h parameters...

fast 3 Jahre vor | 1

| akzeptiert

Beantwortet
how to make the trend line identifies x as dependant variable
hello so basically you permute x and y data and then you get the new result in my equation output you have to permute x ...

fast 3 Jahre vor | 0

Beantwortet
Transfer function using time domain Input and output characteristics
hello this is a job for tfestimate if you don't have the Signal Processing Toolbox, see demo files attached.

fast 3 Jahre vor | 0

Beantwortet
How to use For loop to the below data?
here you are my friend : % main loop for k = 1:numel(berMap) figure A = berMap(k); % caculate the coverage are...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Identification of 2x2 system in SS by separate excitations 1x2
hello there is already tools available for MIMO identification look here : Multivariable Subspace Identification: MOESP - ...

fast 3 Jahre vor | 0

Beantwortet
Plot data and keep the maximum values
hello several approaches are possible to draw an envelope of your data - like those examples you will notice that none of th...

fast 3 Jahre vor | 1

Beantwortet
undefine function : error
hello I corrected all the bugs I could find - find my suggestions in the attached zip file now the last point I cannot fully ...

fast 3 Jahre vor | 0

Beantwortet
Plot only the surfaces within a bounding surface?
hello seems to me there is no need for a for loop to compute ymin & ymax also ymin = - ymax , so we can avoid creating yet a...

fast 3 Jahre vor | 0

Beantwortet
How to smooth a curve to the lower bound in Matlab
hello smoothn was done for you ! use the 'robust' option to get rid of the outliers smoothn - File Exchange - MATLAB Central...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Percentage change in y as a result of 10% reduction in x?
hello try this data file is attached I used this robust smoother : smoothn - File Exchange - MATLAB Central (mathworks.co...

fast 3 Jahre vor | 0

Beantwortet
application of fft analyzer
hello there are multiple aspects in vibration / dynamic system analysis : response signal analysis either in time or frequen...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Creating the discrete-time graph of a recorded audio signal
hello no panic ! if you have records in wav format , you only need audioread to get your data getaudiodata is not needed h...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Wishing to remove invalid noisy data from a graph.
My first idea would be to analyse the ratio of variance vs mean value of a buffer of samples (repeat if until the end of the dat...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to interplote and meshgrid 2D scatter plot (bounded by an ir-regular surface)?
hello this should help you move forward side by side the original plot and once resampled (grid data) % Step 1: Plott...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
code to read BUFKIT formatted model data
hello this can be a simple wrapper to get your data D=readlines('data.txt'); % read as string array ixP1=find(contains(...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
3D Histogram from raw data
hello see example below - this is equivalent to hist3 % dummy data (col vectors) x = rand(100,1); y = rand(100,1); z = ra...

fast 3 Jahre vor | 0

Beantwortet
how do i change barwidth of 2 bars simaltaneously
hello I don't think there is a problem with bar simply when you choose a wider bar one can get hidden behind the front bar ...

fast 3 Jahre vor | 0

Beantwortet
Text on point in a 2D plot
hello you can use text for that job xp = 1:0.5:2*pi+1; yp = 0.1*xp+sin(xp); c = rand(size(xp)); scatter(xp,yp,100,c,'fill...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to make output X Y graph like the picture?
hello you simply have to remember that vertical lines need you to duplicate the x value (with different y values of course) ...

fast 3 Jahre vor | 0

Beantwortet
"Unfurl" 3D surface to 2D plane (not projection)
hello after a few trials , this is it ! try this : data = readmatrix('Test1.xlsx',"NumHeaderLines",1); % x y z v x = da...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
How do I get smooth edges for a contourf plot on a log-log scale scatterplot?
hello I can suggest this , although I consider it needs some refinements MFR_1 = [0.93016, 0.13933, 0.04154; 4.75072, 0.96454...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
A smoother surfplot, maybe with pchip interpolation
hello I used this excellent FEX submission to get this result : smoothn - File Exchange - MATLAB Central (mathworks.com) ...

fast 3 Jahre vor | 0

Beantwortet
How can I align a sequence of three data points?
hello try this data_A = [0 4 5 7 8 9]; data_B = [4 5 7 8 1 5 6]; data_C = [ 2 5 3 4 5 7 8]; % check that all interse...

etwa 3 Jahre vor | 1

| akzeptiert

Beantwortet
Compute RMS value over 1-second intervals
hello I am not aware of a matlab function called movrms (but there is a movmean and movsum) here a code that does the same th...

etwa 3 Jahre vor | 0

Beantwortet
How can I compare reference curve with other curves ?
you could use the correlation coeffiient between two data set (used in curve fitting for example) %%%%%%%%%%%%%%%%%%%%%%%%%%%...

etwa 3 Jahre vor | 0

| akzeptiert

Mehr laden