photo

Chuguang Pan


Last seen: Today Active since 2019

Followers: 1   Following: 8

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

27 Questions
59 Answers

File Exchange

1 File

Cody

0 Problems
274 Solutions

RANK
590
of 301,229

REPUTATION
133

CONTRIBUTIONS
27 Questions
59 Answers

ANSWER ACCEPTANCE
70.37%

VOTES RECEIVED
25

RANK
17,570 of 21,201

REPUTATION
4

AVERAGE RATING
0.00

CONTRIBUTIONS
1 File

DOWNLOADS
24

ALL TIME DOWNLOADS
24

RANK
555
of 173,547

CONTRIBUTIONS
0 Problems
274 Solutions

SCORE
3,550

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


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 hour ago | 0 answers | 0

0

answers

Solved


Determine Matrix Dimensions Without Using some built-in MATLAB functions, version 2
Write a function that takes a 2D matrix/1D vector x as input and returns a row vector containing the number of rows and the numb...

4 days ago

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

22 days ago | 1

Submitted


KAN Layer based on MATLAB Deep Learning Toolbox
Kolmogorov-Arnold Networks (KAN) constructed based on MATLAB Deep Learning Toolbox.

25 days ago | 24 downloads |

0.0 / 5
Thumbnail

Solved


Estimate brake disc temperature rise during braking.
During braking, kinetic energy is converted into thermal energy, causing brake discs to heat up. Excessive temperature rise can ...

1 month ago

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

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

2 months ago | 0

Solved


Roots of a quadratic equation.
Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

2 months ago

Solved


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

2 months ago

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

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

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

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

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

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

3 months ago | 1 answer | 0

1

answer

Solved


Addition II
find a+b+c+d

3 months ago

Solved


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.

3 months ago

Solved


Find the sum of 2 numbers
Create a function that sums two numbers together.

3 months ago

Solved


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

3 months ago

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

3 months ago | 1 answer | 0

1

answer

Solved


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

3 months ago

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

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

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

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

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

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

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

4 months ago | 2 answers | 0

2

answers

Solved


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

4 months ago

Solved


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

4 months ago

Load more