photo

Chuguang Pan


Last seen: Today Active since 2019

Followers: 3   Following: 10

Message

I am interested in MATLAB/Simulink and use it to solve many practical problems.

Programming Languages:
Python, C, MATLAB
Spoken Languages:
English, Chinese
Pronouns:
He/him
Professional Interests:
Control Algorithm Design, Signal and Data Processing, Mechanical Engineering

Statistics

All
MATLAB Answers

34 Questions
61 Answers

File Exchange

2 Files

Cody

0 Problems
292 Solutions

RANK
590
of 301,511

REPUTATION
133

CONTRIBUTIONS
34 Questions
61 Answers

ANSWER ACCEPTANCE
70.59%

VOTES RECEIVED
25

RANK
16,432 of 21,308

REPUTATION
8

AVERAGE RATING
1.00

CONTRIBUTIONS
2 Files

DOWNLOADS
8

ALL TIME DOWNLOADS
42

RANK
513
of 174,936

CONTRIBUTIONS
0 Problems
292 Solutions

SCORE
3,748

NUMBER OF BADGES
14

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Knowledgeable Level 4
  • Thankful Level 3
  • Speed Demon
  • Promoter
  • Personal Best Downloads Level 1
  • First Submission
  • First Review
  • Project Euler I
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

View badges

Feeds

View by

Question


LSTM network time series prediction error occurs at the initial time step
I have trained a LSTM network for time series regression. After training, I want to test its performance based on the test datas...

15 days ago | 1 answer | 0

1

answer

Question


Training error when use selfAttentionLayer with DropOut
I want to use selfAttentionLayer to construct the time series prediction model. However, when I use selfAttentionLayer with Drop...

16 days ago | 1 answer | 0

1

answer

Answered
ode23s solver vs ode15s solver when simulating nonliner system with significant nonlinearity and stiffness
I have find that the issue of the ode15s solver is caused by the term which has discontinuous time derivatives. After replacing...

25 days ago | 0

| accepted

Question


ode23s solver vs ode15s solver when simulating nonliner system with significant nonlinearity and stiffness
For simulating the closed loop system of the electro hydraulic system incorporating advanced nonlinear controller, I used ode ob...

26 days ago | 1 answer | 0

1

answer

Question


How to understand the input and output arguments of preparets function for network training
For training NARX network, we need to prepare input and target time series data using preparets function. However, the preparets...

28 days ago | 1 answer | 0

1

answer

Answered
Electro-hydraulic actuator system simulation generates complex result under open-loop simulation mode
I have find that the complex result issue appeared in the single step forward prediction is induced by the discretization error ...

29 days ago | 0

| accepted

Question


Neural ODE Modeling of a Single-Link Robot with External Input
I want to construct the NeuralODE model of a single-link robot which can be described as ODEs with external control input: wh...

1 month ago | 1 answer | 0

1

answer

Question


Electro-hydraulic actuator system simulation generates complex result under open-loop simulation mode
I have generated simulation datas of electro-hydraulic actuator (EHA) using the explicit physical model based on MATLAB's ode so...

1 month ago | 2 answers | 0

2

answers

Question


Only File Exchange Access Denied When I Want to Access the File Exchange
When I want to access the File Exchange part of Mathworks Community, the following error message is displayed in my Edge browser...

1 month ago | 0 answers | 0

0

answers

Question


Electro-hydraulic actuator system simulating based on ode object generates error
I want to simulate the electro-hydraulic actuator (EHA) system using MATLAB's ode object. The schematic diagram of the EHA is sh...

1 month ago | 1 answer | 0

1

answer

Answered
Simulating a system of damped PDEs with the Matlab PDE toolbox.
@Moritz. The 3D (x, y, z) PDEs presented in your question can be reformulated as vectorized form. The and . You can specify the...

2 months ago | 1

Answered
What is the mathematical procedure (matlab code) step by step to perform the Generalized Morse Wavelets?
@Angel Lozada. You can examine the source codes of wt and cwt by inputing type functionName command in the MATLAB command window...

3 months ago | 0

| accepted

Answered
I am unable to find aerodynamic propeller block on my simscape multibody, I am working on drone simulation and using matlab 2025a; do not know if it is link to a specific add
@Imami Joel. The Aerodynamic Propeller block is in Simscape/Driveline/Engines&Motors libraris.

3 months ago | 0

Answered
How to construct Kolmogorov-Arnold Network based on MATLAB's Deep Learning Toolbox
After referring to the open-source Github repository pykan, I have successfully implemented a custom KAN layer based on MATLAB's...

3 months ago | 0

| accepted

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

3 months ago | 1 answer | 2

1

answer

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

3 months ago | 0

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

4 months ago | 1

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

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

4 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 0 answers | 0

0

answers

Question


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

5 months ago | 1 answer | 0

1

answer

Answered
simulink仿真结果数据采集
@张海云. You can use Simulink.SimulationInput objects to configure 1000 models with different setting. Then, you can use parsim to ...

5 months ago | 0

| accepted

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

5 months ago | 0

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

5 months ago | 1

| accepted

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

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

5 months ago | 2 answers | 0

2

answers

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

5 months ago | 1

| accepted

Answered
what is power spectrum value mean ('pspectrum')
@지호. The documentation of pspectrum illustrates that the calculation processes to construct the spectrogram of a nonstationary s...

5 months ago | 0

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

5 months ago | 1

| accepted

Load more