Programming Languages:
Python, C, MATLAB
Spoken Languages:
English, Chinese
Pronouns:
He/him
Professional Interests:
Control Algorithm Design, Signal and Data Processing, Mechanical Engineering
Python, C, MATLAB
Spoken Languages:
English, Chinese
Pronouns:
He/him
Professional Interests:
Control Algorithm Design, Signal and Data Processing, Mechanical Engineering
Feeds
답변 있음
Verification failed to check the validity of the customize layer with Incorrect type of 'Z' for 'predict'
After debugging for a long time, I find that the issue is caused by the default initialization of single precision in dlnetwork'...
Verification failed to check the validity of the customize layer with Incorrect type of 'Z' for 'predict'
After debugging for a long time, I find that the issue is caused by the default initialization of single precision in dlnetwork'...
대략 10시간 전 | 0
| 수락됨
질문
Verification failed to check the validity of the customize layer with Incorrect type of 'Z' for 'predict'
I want to create a customized deep learning layer with nested dlnetwork according to the example presented in Example. After cre...
대략 15시간 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Sum of even numbers in a vector
Write a function that takes a vector of numbers and returns the sum of all the even numbers in the vector.
2일 전
문제를 풀었습니다
Multiplying the Sums of Two Arrays
Get two arrays, add the values within the array up, and then multiply the two total values. [2,3]*[3,6] 5*18 90
6일 전
질문
What is the best practice to train a NeuralODE model with very small learnable parameter ?
I want to train a NeuralODE model which approximates a complicated physical system with complex governing ODEs. The physical sys...
14일 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Return the Square of a Number
Write a function that takes a single numeric input x and returns its square. That is, given x, your function should output x^2....
15일 전
질문
How to realize Maximum Mean Discrepancy (MMD) based on pdist2 function ?
The MaximumMean Discrepancy (MMD) is a statistical testing method and one of the most widely used distance metrics in transfer l...
18일 전 | 답변 수: 0 | 0
0
답변질문
How to read a text file with irregular timestamp data using detectImportOptions function ?
I want to read the condition monitoring datas stored in the text file. The data text file has 7 colums, where the first colum re...
20일 전 | 답변 수: 1 | 0
1
답변답변 있음
simulink仿真结果数据采集
@张海云. You can use Simulink.SimulationInput objects to configure 1000 models with different setting. Then, you can use parsim to ...
simulink仿真结果数据采集
@张海云. You can use Simulink.SimulationInput objects to configure 1000 models with different setting. Then, you can use parsim to ...
20일 전 | 0
| 수락됨
답변 있음
How to implement interpolation using Prelookup using a MATLAB function?
@Amr. interpn can be used for N-D interpolation (table lookup). Data = rand(1201,26,37,384); [X1,X2,X3] = ndgrid(linspace(0,2,...
How to implement interpolation using Prelookup using a MATLAB function?
@Amr. interpn can be used for N-D interpolation (table lookup). Data = rand(1201,26,37,384); [X1,X2,X3] = ndgrid(linspace(0,2,...
21일 전 | 0
답변 있음
Size of predictions and targets must match.
@Bahadir. As indicated by the error message, the size of prediction and the target must be equal. I think you should reduce the ...
Size of predictions and targets must match.
@Bahadir. As indicated by the error message, the size of prediction and the target must be equal. I think you should reduce the ...
21일 전 | 1
| 수락됨
답변 있음
Movmedian with non-uniform sample points
@Robert Watson.The SamplePoints argument of movmedian function represents the location of data, it must has the same length with...
Movmedian with non-uniform sample points
@Robert Watson.The SamplePoints argument of movmedian function represents the location of data, it must has the same length with...
24일 전 | 0
질문
How to integrate a control system by ode45 with PID control input ?
I want to simulate a control system using ode45 function. The system model can be expressed as , where the control input is the...
25일 전 | 답변 수: 2 | 0
2
답변문제를 풀었습니다
Calculate Lift Force on an Airfoil
Write a MATLAB function to calculate the lift force acting on an airfoil given the air density, wing area, velocity of the airfl...
27일 전
문제를 풀었습니다
Calculate Drag Force
Write a MATLAB function to compute the drag force on an object moving through air: where: D is drag force (N) ρ is air de...
27일 전
문제를 풀었습니다
Compute Airspeed from Mach Number
Write a MATLAB function that converts a Mach number to airspeed given the speed of sound aa in m/s: V=M⋅a V = airspeed (m/s) M...
27일 전
문제를 풀었습니다
Calculate Reynolds Number
Write a MATLAB function that calculates the Reynolds number for flow over a flat plate: ρ = fluid density (kg/m³) V = veloc...
27일 전
답변 있음
Imaginary output from arccosine function when the input is close to -1
@Ali. After loading the m and n vectors from your attached NormalVectors.mat file. I find that the calculation result of theta i...
Imaginary output from arccosine function when the input is close to -1
@Ali. After loading the m and n vectors from your attached NormalVectors.mat file. I find that the calculation result of theta i...
대략 1개월 전 | 1
| 수락됨
문제를 풀었습니다
Find similar sequences
Another problem inspired by a question on the <http://www.mathworks.com/matlabcentral/answers answers> forum. Given a matrix ...
대략 1개월 전
문제를 풀었습니다
Largest Geometric Series
Extension of Ned Gulley's wonderful Problem 317. In a geometric series, ratio of adjacent elements is always a constant value. ...
대략 1개월 전
문제를 풀었습니다
Generate Square Wave
Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...
대략 1개월 전
답변 있음
what is power spectrum value mean ('pspectrum')
@지호. The documentation of pspectrum illustrates that the calculation processes to construct the spectrogram of a nonstationary s...
what is power spectrum value mean ('pspectrum')
@지호. The documentation of pspectrum illustrates that the calculation processes to construct the spectrogram of a nonstationary s...
대략 1개월 전 | 0
문제를 풀었습니다
Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...
대략 1개월 전
답변 있음
How to change folder for "slprj" folder generation?
@Sergei. For setting up the path of "slprj" folder, you have to configure the SimulinkCacheFolder of project. For instance, my...
How to change folder for "slprj" folder generation?
@Sergei. For setting up the path of "slprj" folder, you have to configure the SimulinkCacheFolder of project. For instance, my...
대략 1개월 전 | 1
| 수락됨
질문
What is the best practice to understand the source code of MATLAB's built function ?
I want to learn the basic theory of wavelet synchrosqueezed transform, and find that there is a built-in function wsst in the Wa...
대략 1개월 전 | 답변 수: 1 | 0
1
답변답변 있음
help me to fix this finveser code
syms t; v01 = 30; v02 = 25; h1 = 25; h2 = 30; g = 9.78; x1(t) = v01*t; y1(t) = h1 - (1/2)*g*t^2; y1(finverse(x1,t))
help me to fix this finveser code
syms t; v01 = 30; v02 = 25; h1 = 25; h2 = 30; g = 9.78; x1(t) = v01*t; y1(t) = h1 - (1/2)*g*t^2; y1(finverse(x1,t))
대략 2개월 전 | 0
문제를 풀었습니다
Compute the Dedekind psi function
Write a function to compute the Dedekind psi function. The values for n = 1, 2, 3, 4, 5, and 6 are 1, 3, 4, 6, 6, and 12.
대략 2개월 전
답변 있음
PMSM DRIVE EXAMPLE: where are the model's variables located?
@Stefano. The variables appearing in the base workspace is calculated from the PreloadFcn callback function in the PMSM model. Y...
PMSM DRIVE EXAMPLE: where are the model's variables located?
@Stefano. The variables appearing in the base workspace is calculated from the PreloadFcn callback function in the PMSM model. Y...
대략 2개월 전 | 0











