Community Profile

photo

Ying Wu


Last seen: 1 year ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • Thankful Level 2

View badges

Feeds

View by

Question


Plot 2D contour of z at (x,y) coordinates
Hi, I have three arrays with same dimension: xc, rc, P, where xc and yc are coordinates, P is pressure value at (xc,rc). Is ther...

1 year ago | 2 answers | 0

2

answers

Question


How to take first and second order derivative of discrete data?
Hi, I have two discrete signals with constant time intervel dt=0.01, one is y(t) (displacement), one is Cl(t) (force). Each sign...

1 year ago | 1 answer | 1

1

answer

Question


How to calculate differential of scattered data?
Hi, I have time sertis of two signals, one is y, one is Cl, and I'd like to calculate the first and second derivative of these t...

1 year ago | 1 answer | 0

1

answer

Question


How to plot a line of zero value on a surface?
I used surf to generate a 3D surface and see it in 2D view (see below) The dataset and code are also attached. X=[0 0.25 0.5...

1 year ago | 1 answer | 0

1

answer

Question


Read vtk files (created from paraview) into Matlab
Hi, I have many vtk files storing the velocity field information, which is created in Paraview. Now I want to import them into M...

1 year ago | 1 answer | 0

1

answer

Question


How to find maximum among several local peaks?
Hi, I use findpeaks() to locate a few local maxima of a data array as the data may flucuate slightly when closing peak, like the...

1 year ago | 1 answer | 0

1

answer

Question


How to obtain PSD of time series data using pwelch()
Hi, I use pwelch() to calculate PSD of one set time-series data with 40,000 samples. The data is simulation result, and the time...

1 year ago | 1 answer | 0

1

answer

Question


Using diff() or gradient() or other methods to solve the local slope of a set of discrete point?
Hi, I have a set of x and y, each has 44 values, and I use the following method to solve the local slope of this curve. The two...

1 year ago | 1 answer | 0

1

answer

Question


Why thd() function captures incorrect harmonics?
Hi, I use thd() to calculate one time-domain singal, and I try three commands but all fails. Can anyone help me to solve this qu...

1 year ago | 1 answer | 0

1

answer

Question


How to plot envelope of a signal
Hi, I have trouble in plotting a smooth envelope of a signal using the envelope function in Matlab or the hilbert method. The ti...

1 year ago | 1 answer | 0

1

answer

Question


Simulated and predicted response of time-series idnlgrey model in Matlab
I have build an idnlgrey (nonlinear grey box) model using time-series dataset, and the model structure is an ODE system includin...

2 years ago | 1 answer | 0

1

answer

Question


How to recover .m file lost due to the abnormal termination
Hi, when I run a parallel for-loop in my code.m file, the maltab is terminatted abnormally. And when I reopen the matlab, all th...

2 years ago | 1 answer | 0

1

answer

Question


How to find intersection for two lines composed of multiple points (no expression)
Hi, my line1 (x1, y1) and line2 (x2, y2) are plotted using a series of points. And I don't know the exact experssion for these t...

2 years ago | 0 answers | 0

0

answers

Question


How to remove ticks of right y-axis when plot two y-axes figure using yyaxis
Hi, when I use yyaxis left and yyaxis right to plot two y-axes figure, the y-ticks would be generated automatically. And I want ...

2 years ago | 1 answer | 0

1

answer

Question


plot 3D grid using mesh() with lack of individual data
Hi, I want to use mesh to plot 3D grids with the format of mesh(x, y, z). My z is a 47*11 matrix, in which the 7 column actually...

2 years ago | 1 answer | 0

1

answer

Question


Show the xticks in the view of 2D
Hi, I use surf to plot a 3D surface, see below And I want to see it in 2D view, so I use view(2), and I get the figure below....

2 years ago | 1 answer | 0

1

answer

Question


How to solve a 2nd-order ODE system with space-dependent variable with ODE45?
Hi, I use ode45 function to solve the following 2nd-order ODE system: where X(t) and Y(t) are function of time, and the par...

2 years ago | 1 answer | 0

1

answer