photo

Chuguang Pan


Last seen: Today 自 2019 起处于活动状态

Followers: 0   Following: 6

消息

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

统计学

All
MATLAB Answers

24 个提问
52 个回答

Cody

0 个问题
266 个答案

排名
634
of 300,688

声誉
123

贡献数
24 个提问
52 个回答

回答接受率
70.83%

收到投票数
21

排名
 of 21,039

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名
555
of 170,148

贡献数
0 个问题
266 个答案

评分
3,473

徽章数量
14

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • 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

查看徽章

Feeds

排序方式:

提问


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

7 days 前 | 0 个回答 | 0

0

个回答

已解决


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

7 days 前

提问


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

10 days 前 | 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...

12 days 前 | 1 个回答 | 0

1

个回答

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

13 days 前 | 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,...

13 days 前 | 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 ...

14 days 前 | 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...

17 days 前 | 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...

18 days 前 | 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...

19 days 前

已解决


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

19 days 前

已解决


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

19 days 前

已解决


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

19 days 前

已回答
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...

23 days 前 | 1

| 已接受

已解决


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

23 days 前

已解决


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

24 days 前

已解决


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

24 days 前

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

26 days 前 | 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...

28 days 前

已回答
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...

30 days 前 | 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 month 前 | 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))

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

1 month 前

已回答
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 months 前 | 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...

2 months 前 | 0

| 已接受

已回答
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...

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

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

3 months 前 | 0

| 已接受

已回答
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...

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

3 months 前 | 1

| 已接受

加载更多