Answered
How to animate a mesh plot of a cylinder to expand and contract along the X-axis using a sine wave?
hello maybe this ? t = 0:0.01:2; % homogenous radius variation f = 1; a = 0; % see the effect with a>0.5 x = a*sin(2*p...

5 månader ago | 1

| accepted

Answered
Creating multiple plots in one graph from multiple .txt files
hello try this : d = dir('NW*.txt'); % d is a structure array that contains the list of all txt files starting with NW ...

5 månader ago | 0

Answered
Lines of magnitude plot of bode diagram
hello try this - hope it helps I opted for the convention of 3 dB below the peak amplitude point (which is not the 0 dB) but...

5 månader ago | 1

Answered
how to generate different curves(data) from one?
hello I used the equations as they appears in the attached image . I thought that would be better rather than trying to derive...

5 månader ago | 0

| accepted

Answered
How to plot a surface with lat, lon and depth?
hello @Francesco I wanted to show you how to use trisurf on scattered data but my example failed as it seems your data represen...

5 månader ago | 0

Answered
I need to determine the no. of loops and area under each loop from the xy plot.
hello with the help of this FEX submission, it was quite simple : Fast and Robust Self-Intersections - File Exchange - MATLA...

5 månader ago | 2

Answered
Im struggling with how to properly format my table.
hello Emily see attached a few matlab functions that can help you in displaying nice looking tables all the best

5 månader ago | 0

Answered
Audio distortion using IIR filters for an audio equalizer
hello simple correction % Convert to SOS matrix [sos] = zp2sos(z,p,k); filtered_audio = sosfilt(sos, input_audio); and ...

5 månader ago | 0

Answered
How to use 2D FFT to remove horizontal noise from the image
hello you can start with simple 2D filtering here some examples you can easily try once you have dowloaded those functions :...

5 månader ago | 1

| accepted

Answered
How to simulate a signal with a slow (sinusoidal) drift as experimental input for an app?
hello again this would be my suggestion now , we are looking at very high frequencies so I wonder what signal duration you ar...

5 månader ago | 1

| accepted

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

| accepted

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

5 månader ago | 0

| accepted

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

5 månader ago | 0

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

5 månader ago | 0

| accepted

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

5 månader ago | 0

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

5 månader ago | 0

| accepted

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

5 månader ago | 1

| accepted

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

5 månader ago | 1

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

6 månader ago | 0

| accepted

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

6 månader ago | 2

| accepted

Answered
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)+...

6 månader ago | 0

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

6 månader ago | 0

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

6 månader ago | 0

| accepted

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

6 månader ago | 1

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

6 månader ago | 0

| accepted

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

6 månader ago | 0

| accepted

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

6 månader ago | 0

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

6 månader ago | 1

| accepted

Load more