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

20 个提问
46 个回答

Cody

0 个问题
257 个答案

排名
731
of 300,429

声誉
107

贡献数
20 个提问
46 个回答

回答接受率
75.0%

收到投票数
19

排名
 of 20,976

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名
555
of 168,781

贡献数
0 个问题
257 个答案

评分
3,374

徽章数量
14

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • Knowledgeable Level 3
  • 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

排序方式:

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

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

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

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

15 days 前

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

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

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

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

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

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

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

2 months 前 | 1

| 已接受

已解决


Cumulative Count
Given a row vector of integers with repeating values (with all repeating values occuring in a single continuous run), create an ...

2 months 前

已解决


Multiply real numbers to get the smallest integers
Write a function that takes a vector of real numbers and multiplies them by a factor to produce the integers with the smallest a...

2 months 前

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

2 months 前 | 0

已解决


find powers of two
find the unique, non-repeating, powers of 2 that sum to a given non-zero integer, n example: n = 23 result = [1 2 4 16] ...

2 months 前

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

3 months 前 | 0

提问


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

3 months 前 | 1 个回答 | 0

1

个回答

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

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

3 months 前 | 0

已回答
How to patch the area under curve for a polarplot?
There is a similar question in https://ww2.mathworks.cn/matlabcentral/answers/451422-how-to-use-patch-fill-on-a-polarplot, this ...

3 months 前 | 0

已回答
Is my CNN Correct
You can use analyzeNetwork fucntion to obtain more details of your neural network layers = [ sequenceInputLayer(1)...

4 months 前 | 0

已解决


Check Bertrand-Chebyshev's theorem about prime numbers
Historical context Bertrand's postulate, also later known as Chebyshev's theorem, is a very important theorem in number theory ...

4 months 前

已解决


Check p = 6n +/- 1, the generic formula for odd prime numbers greater than 3
Problem statement For all odd prime number p greater than 3, there exists a positive integer n, such that p = 6n +/- 1 : ...

4 months 前

已回答
Vectorizing DAE with strong State Dependance Mass matrix
The Vectorized option in odeset means that your DAEs can be writen as , apparently your DAEs can not be expressed as separable f...

4 months 前 | 0

| 已接受

已回答
Create an extra row in a table that show the means of all columns (but without any extra headings)
params = ["ROI_L";"ROI_C";"ROI_R"]; FWHMX = [3.09;3.14;3.36]; FWHMY = [3.00;2.92;2.88]; FWHM2D = [3.05;3.03;3.12]; CenInt ...

4 months 前 | 0

| 已接受

已回答
How to write a timetable to excel with rowtimes as dates without times?
You can use "InputFormat" option to specify the date format m = (1:3).'; dates = datetime(2025,m,15,"InputFormat","dd-MM-yyyy"...

4 months 前 | 0

已解决


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

4 months 前

已回答
trainnet not openning the plot's window and get stuck.
You can check if you have setted trainingOptions with Plots=none. If the training options are correctly setted, maybe the issue ...

4 months 前 | 1

| 已接受

已解决


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

4 months 前

已解决


Wheatstone bridge
Determine if a set of resistors maintain Wheatstone bridge equilibrium

4 months 前

加载更多