Python, C, MATLAB
Spoken Languages:
English, Chinese
Pronouns:
He/him
Professional Interests:
Control Algorithm Design, Signal and Data Processing, Mechanical Engineering
Statistics
RANK
627
of 300,840
REPUTATION
125
CONTRIBUTIONS
26 Questions
55 Answers
ANSWER ACCEPTANCE
69.23%
VOTES RECEIVED
22
RANK
of 21,092
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
How to construct Kolmogorov-Arnold Network based on MATLAB's Deep Learning Toolbox
Kolmogorov-Arnold Networks (KANs) are theoretically grounded alternatives to conventional Multilayer Perceptrons (MLPs). KANs ar...
10 hours ago | 0 answers | 0
0
answersI’m having trouble calculating the digit probability of π in a basic MATLAB Cody problem. Any help would be appreciated.
@BINITO. I have tried to use AI for solving the issue, the answer provided by AI is: % ------------------------------ Version f...
1 day ago | 0
how to plot these 2 column data into a curve on oxy plane
load matlab_data.mat plot(T.x,T.y,'o--'); title(string(ans))
5 days ago | 1
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'...
24 days ago | 0
| accepted
Question
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...
24 days ago | 1 answer | 0
1
answerQuestion
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...
1 month ago | 1 answer | 0
1
answerQuestion
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...
1 month ago | 0 answers | 0
0
answersQuestion
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...
1 month ago | 1 answer | 0
1
answersimulink仿真结果数据采集
@张海云. You can use Simulink.SimulationInput objects to configure 1000 models with different setting. Then, you can use parsim to ...
1 month ago | 0
| accepted
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,...
1 month ago | 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 ...
2 months ago | 1
| accepted
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...
2 months ago | 0
Question
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...
2 months ago | 2 answers | 0
2
answersImaginary 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...
2 months ago | 1
| accepted
what is power spectrum value mean ('pspectrum')
@지호. The documentation of pspectrum illustrates that the calculation processes to construct the spectrogram of a nonstationary s...
2 months ago | 0
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...
2 months ago | 1
| accepted
Question
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...
2 months ago | 1 answer | 0
1
answerhelp 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 months ago | 0
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...
3 months ago | 0
Squeeze-and-Excitation-Inception Architecture for 1D-CNN in MATLAB: Input Data Format Specification and Dimension Matching Issues Between Modules
@dachen wang. For the first issue, the documentation of convolution1dLayer states that the desired input format of convolution1d...
3 months ago | 0
| accepted
How to open 2023 models in 2025 version
@Tope Roseline. As indicated by the prompt message, the old model established in R2023 has obsolete simscape blocks which are no...
3 months ago | 0
Unable to use structName.?ClassName for VideoWriter class
I think the options.?ClassName syntax is not supported within arguments block. You should specify each name-value pair individua...
4 months ago | 0
how can I simplify this code?
function [idx,pairs,scan] = Two_Ended_Search_2(x,target) idx = find(x==target); n = length(x); LR = min(idx-1,n-i...
4 months ago | 0
| accepted
Issues creating error bar for bar figure
The problem lies in the variable Names is string array, which is not supported by errorbar function. You can use categorical fun...
4 months ago | 0
Representing an orifice whose length is greater than the orifice diamter using Simscape Fluids (IL)
I think you can realize such a nozzle using both Pipe (IL) block and Orifice (IL) block. For example, you can connect orifice bl...
4 months ago | 1
| accepted
SVD to a matrix subset (rows)
I find there is a svdappend function for calculating SVD of matrix incrementally, such as from SVD of A to SVD of [A,D] or [A;D]...
4 months ago | 0
Why does this error occur? Error using cwt>parseinputs (line 510) Invalid number of scalar input arguments. Error in cwt (line 297) fbcell = parseinputs(Norig,TTable,varar
You do not need to pass scales argument explicitly. The scales argument is excluded of cwt function's signature. The minimum and...
5 months ago | 0
Question
How to simulate electro-hydraulic actuator system with hydraulic oil thermal effect in Simscape
I want to simulate hydraulic actuator with hydraulic oil thermal effect use Simscape. I find there is an example model Close...
5 months ago | 1 answer | 0
1
answerUnexpected results using SVD to separate components that make up a function
As far as I konw, the SVD of a matrix P is equal to the summation of rank-1 components. Since the matrix is not rank-1, I th...
5 months ago | 1
How does the type of solver (fixed vs variable step) affect reinforcement learning in Simulink environment?
You can use Simulink Debug Functionality to step through the simulation and examine the output of agent.
5 months ago | 0











