Ying Wu

Last seen: ungefär ett år ago Active since 2021

Followers: 0   Following: 0

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

mer än ett år ago | 2 answers | 0

2

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

mer än ett år ago | 1 answer | 1

1

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

mer än ett år ago | 1 answer | 0

1

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

mer än ett år ago | 1 answer | 0

1

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

mer än ett år ago | 1 answer | 0

1

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

mer än ett år ago | 1 answer | 0

1

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

mer än ett år ago | 1 answer | 0

1

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

mer än ett år ago | 1 answer | 0

1

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

mer än ett år ago | 1 answer | 0

1

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

mer än ett år ago | 1 answer | 0

1

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

nästan 2 år ago | 1 answer | 0

1

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

ungefär 2 år ago | 1 answer | 0

1

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

mer än 2 år ago | 0 answers | 0

0

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

mer än 2 år ago | 1 answer | 0

1

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

mer än 2 år ago | 1 answer | 0

1

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

mer än 2 år ago | 1 answer | 0