Beantwortet
Linear regression on data with asymmetric measurement error
hello Katrina maybe this ? you can force the mean curve to get closer from either the upper or the lower bound by adjusting t...

mehr als 2 Jahre vor | 0

Beantwortet
Hello, I need help interpolating data with two lines for each baffle cut percentage in MATLAB. How to select and interpolate the right line automatically based on user input?
hello @Subathra Nilamegan as far as I understand , when you say your data has two line you mean for example the left and right ...

mehr als 2 Jahre vor | 0

Beantwortet
How to move data from cells in a cell in a destinct column (importing CoDeSys variables)
hello maybe this ? where the lines in your file do not have initial values , I inserted a zero in 3rd position ; this is don...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Calculating the directional and magnitude frequency of wind at specific angles
hello well, your code looks a bit strange to me first error is that find does not operate on table elements. You could have ...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
How to calculate the Rolling Average or "moving mean" of a matrix.
hello see simple code below I first created a dummy 2D array of 60 rows and 4 columns, but in fact it's just one vector of d...

mehr als 2 Jahre vor | 0

Beantwortet
matlab smoothing data problem
hello I am not sure to understand your plot and where the transition land / water can be seen nevertheless , if you need to ...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
How to omit narrow variances in data
seems to me that smoothdata with movmedian method is appropriate , which in fact is also what @Walter Roberson also suggested %...

mehr als 2 Jahre vor | 0

Beantwortet
Good color scheme to represent 3 surfaces in one plot
Maybe this ? I played with the transparency (facealpha) so that the lowest surface would be more opaque and then the ones above...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Require the displacement and velocity dataset from the acceleration dataset
hello try this I assumed your data are in g's maybe this must be changed according to your sensor sensivity / acquisition st...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
Fourier: Why does a signal composed by 3 frequencies sound different when played compared to playing all 3 frequencies seperatly and simultaneously?
hello I am not using much audioplayer and alike , but I guessed there was a problem with the amplitudes set above 1 , this pro...

mehr als 2 Jahre vor | 1

Beantwortet
Reproducing signal by it's first 40 harmonics
hello try this I computed first your signal frequency then the ahrmonics complex amplitudes . From there you can easily gene...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Ploting temperature evolution in a multi-layer tyre
maybe this ? I assumed your data has columns = layers and the rows spans the angular position between 0 and 2pi as a result ...

mehr als 2 Jahre vor | 2

| akzeptiert

Beantwortet
Unable to perform assignment because the left and right sides have a different number of elements. Error in y_vector(k) = Fk + r* e1* y_vector(1)+ r* (B
hello seem to me there is an issue with y_vector update as you add Fk (array size 1x10) with the rest (+ r* e1* y_vector(1)+...

mehr als 2 Jahre vor | 0

Beantwortet
"Error using mesh: Z must be a matrix, not a scalar or vector."
hello I figured out that there are a few issues in the code , so I commented the lines where I found a bug or missing / not de...

mehr als 2 Jahre vor | 0

Beantwortet
automaticaly define calibration parameter to the workspace through read the m file
hello maybe this ? see my dummy calibration file attached (it's a txt and not a m file) I simply created a second line wit...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Transfer Function to State Space Using Prediction Error Method
hello a tried some coding around your data I don't know why you have "accuracy" problem when you go from TF to SS models h...

mehr als 2 Jahre vor | 1

Beantwortet
how to use dsp.AudioFileWriter to write 24b bit depth audio?
Hi change DataType properties from int16 (default) to int24 Stream to audio file - MATLAB - MathWorks France Properties exp...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
3D plot for polynomial
hi see meshgrid and surf documentaion [x,y] = meshgrid(-2:.2:2,-4:.4:4); z = 3*x.*y.^3+ 2*x.^2 .*y.^2+ 6*x.*y.^...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Discontinuous y axis and dual y axis combined in one plot
a lazy answer - use yyaxis in a y log scale so you still see the outliers group aside from the main data but no fancy axis break...

mehr als 2 Jahre vor | 0

Beantwortet
PosePlot - Y and Z Axes cannot be reversed
hello well , your Y and Z directions are already 'reverse' in first place, while Xdir was 'normal' so if you wanted to chang...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
How to draw a rectangle around the area that shows an energy variation
hello try this IMO, the rectangle position is to be computed from your spectrogram results (define thresholds) Fs = 1e3; ...

mehr als 2 Jahre vor | 0

Beantwortet
How do I plot the intersection of two inequalities?
try this : [x1,x2] = meshgrid(-10:0.02:10,-10:0.02:10); z = x2 - 8./x1; cond1 = x1./5 - x2 >= 0; cond2 = 16 - (x1-5).^2 - x...

mehr als 2 Jahre vor | 1

Beantwortet
record series of frequencies into file, then read file on spectrogram
hello my friend here you are I simplified a bit your function (ne need to create extra variables that we don't use anyway) a...

mehr als 2 Jahre vor | 1

Beantwortet
Why are continuous wavelet transform (cwt) and short-time Fourier transform (stft) functions giving such different results here?
hello I don'thave access to the toolbox that you are using but I am using another cwt code I probably found on the Fex (attach...

mehr als 2 Jahre vor | 0

Beantwortet
Convert cell of mixed real and complex numbers into double
hello try this don't remember where I found this code , probably in the Fex section. many thanks to his creator ! oh, yes,...

mehr als 2 Jahre vor | 0

Beantwortet
reading images from different folders
hello maybe this ? I created some "input" folders where the images are stored (those folders are supposed to have "in" in th...

mehr als 2 Jahre vor | 0

Beantwortet
Read data with repeat counts
hello maybe this ? data_string = "750.013 2*748.943 2*748.221"; % data imported as string array data_string2 = split(data...

mehr als 2 Jahre vor | 1

Beantwortet
Split data based on column value to write in different sheets in excel
hello try this : data = [1 45 45; 1 34 46; 2 53 57; 3 34 83; 2 ...

mehr als 2 Jahre vor | 1

Beantwortet
Estimating the parameter of a complex equation using maximum likelihood estimation (MLE) method
as i am lazzy, I tried first a simpler model with two decaying exponentials (one was insufficient) y = a.*exp(-b.*x) + c.*exp(...

mehr als 2 Jahre vor | 0

Beantwortet
Frequency Response to IR calculation yields shallower Magnitude level?
hi I have done something similar in the past - see below FYI I start with a given FIR filter then computation of the transfer ...

mehr als 2 Jahre vor | 0

Mehr laden