photo

Chuguang Pan


Last seen: Today Attivo dal 2019

Followers: 1   Following: 7

Messaggio

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

Statistica

All
MATLAB Answers

26 Domande
56 Risposte

Cody

0 Problemi
272 Soluzioni

RANK
624
of 300.863

REPUTAZIONE
126

CONTRIBUTI
26 Domande
56 Risposte

ACCETTAZIONE DELLE RISPOSTE
73.08%

VOTI RICEVUTI
23

RANK
 of 21.100

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK
553
of 171.413

CONTRIBUTI
0 Problemi
272 Soluzioni

PUNTEGGIO
3.516

NUMERO DI BADGE
14

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Knowledgeable Level 4
  • Speed Demon
  • Promoter
  • Thankful Level 3
  • First Review
  • Project Euler I
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver
  • 3 Month Streak
  • First Answer

Visualizza badge

Feeds

Visto da

Risolto


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.

circa 8 ore fa

Risolto


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

circa 8 ore fa

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

5 giorni fa | 0

| accettato

Domanda


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

6 giorni fa | 1 risposta | 1

1

risposta

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

7 giorni fa | 0

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

11 giorni fa | 1

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

30 giorni fa | 0

| accettato

Domanda


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

circa un mese fa | 1 risposta | 0

1

risposta

Risolto


Addition II
find a+b+c+d

circa un mese fa

Risolto


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.

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Domanda


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

circa un mese fa | 1 risposta | 0

1

risposta

Risolto


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

circa un mese fa

Domanda


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

circa 2 mesi fa | 0 risposte | 0

0

risposte

Domanda


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

circa 2 mesi fa | 1 risposta | 0

1

risposta

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

circa 2 mesi fa | 0

| accettato

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

circa 2 mesi fa | 0

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

circa 2 mesi fa | 1

| accettato

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

circa 2 mesi fa | 0

Domanda


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

circa 2 mesi fa | 2 risposte | 0

2

risposte

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


Calculate Reynolds Number
Write a MATLAB function that calculates the Reynolds number for flow over a flat plate: ​ ρ = fluid density (kg/m³) V = veloc...

circa 2 mesi fa

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

2 mesi fa | 1

| accettato

Risolto


Find similar sequences
Another problem inspired by a question on the <http://www.mathworks.com/matlabcentral/answers answers> forum. Given a matrix ...

2 mesi fa

Risolto


Largest Geometric Series
Extension of Ned Gulley's wonderful Problem 317. In a geometric series, ratio of adjacent elements is always a constant value. ...

2 mesi fa

Risolto


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

2 mesi fa

Risposto
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 mesi fa | 0

Carica altro