photo

Chuguang Pan


Last seen: Today Active since 2019

Followers: 0   Following: 1

Message

Mechanical Engineer

Programming Languages:
Python, C, MATLAB
Spoken Languages:
English, Chinese
Pronouns:
He/him

Statistics

All
MATLAB Answers

18 Questions
31 Answers

Cody

0 Problems
251 Solutions

RANK
906
of 299.208

REPUTATION
85

CONTRIBUTIONS
18 Questions
31 Answers

ANSWER ACCEPTANCE
72.22%

VOTES RECEIVED
16

RANK
 of 20.660

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
547
of 163.698

CONTRIBUTIONS
0 Problems
251 Solutions

SCORE
3.318

NUMBER OF BADGES
14

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • 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

View badges

Feeds

View by

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

3 dagen ago | 0

| accepted

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

7 dagen ago | 0

| accepted

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

7 dagen ago | 0

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

10 dagen ago | 1

| accepted

Answered
How to have a vector that is obtained by discretizing a and b for each i.
you can use arrayfun function to process array element. a=[1 2 3 4 5 6 7 8 9 10 11 12]; b=[24 23 22 21 20 19 18 17 16 15 14 ...

21 dagen ago | 0

| accepted

Question


How to understand learnable parameters of cwtlayer and the underlying autograd calculation
I was learning continuous wavelet transform (cwt) and found that there was a cwtlayer in Deep Learning Toolbox. The document...

28 dagen ago | 1 answer | 0

1

answer

Question


Why the length of power spectrum is fixed at 4096 when the signal's length varies ?
I was using pspectrum function to obtain the power spectrum of time series signals. However, I find that when I set different le...

29 dagen ago | 1 answer | 0

1

answer

Question


How to Solve Linear Complementarity Problem (LCP) with MATLAB ?
I want to use MATLAB for solving Linear Complementarity Problem (LCP) as defined in the following: what optimization function...

ongeveer een maand ago | 1 answer | 1

1

answer

Answered
How can I simulate two-rigid body-interactions when the complete motion of one body is known using Simscape Multibody?
@yang. You can add prescribed motion trajectory to the 6DoF Joint's actuation input port as illustrated in the following image. ...

ongeveer een maand ago | 0

Answered
how to change the size of the fonts inside the bar graph
use text function with FontSize option to change font size x = [1 2 3]; vals = [2 3 6; 11 23 26]; b = bar(x,vals); xtips1 ...

ongeveer 2 maanden ago | 0

| accepted

Answered
Iteratively remove the rows and columns of a matrix
M = 3; N = 8; [H00,H10,H20,H30,H40,H50,H60,H70] = deal(randi(10,M)); [H11,H21,H31,H41,H51,H61,H71] = deal(randi(20,M)); H ...

3 maanden ago | 0

Answered
Matrix Near Singularity Warning During the ODEs Solving Procedure
Through stepwise debugging, I find that the badly scaling issue was induced by the stiffness value K, which is a large value...

4 maanden ago | 0

| accepted

Question


Matrix Near Singularity Warning During the ODEs Solving Procedure
I am working with multi rigid body systems simulation utilizing Runge-Kutta (RK) numerical integration method. In the every ...

4 maanden ago | 1 answer | 0

1

answer

Answered
How to plot a string signal/array?
In the Documentation, the Simulink.sdi.plot function can plot different objects exported from simulations, it can reproduce the ...

6 maanden ago | 1

| accepted

Answered
The Parameter of ODE is not Updated When the EventCallback Function is Called
I have solved this isssue with the following odeEvent object definition: E = odeEvent("EventFcn",@impactEvent,"Direction","asce...

7 maanden ago | 1

Question


The Parameter of ODE is not Updated When the EventCallback Function is Called
I was simulating ODEs which incorporate additional parameter (ydot = f(t,y,P)). There is an event occurs in the simulation proc...

7 maanden ago | 1 answer | 2

1

answer

Question


How to Output Updated Parameters Value in ode Integration Process When the odeEvent is triggered ?
I was working on multi-body systems collision simulation utilize ode MATLAB function and odeEvent function. The impact between ...

7 maanden ago | 1 answer | 0

1

answer

Question


How to Generate Smooth Transitional Trapezoidal Signal in Simulink
Hi, everyone. I want to generate a custom signal demonstrated as follow image in Simulink, I have tried the Signal Editor Block,...

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


Changing the Topic Name in DDS Dictionary have no effect in AutoGenerated XML file
Hello, everyone. I want to create the DDS Application with DDS Blockset. I have changed the Topic Name in DDS dictionary which...

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


How to configure ip address/port with DDS Blockset
I have build the DDS application shapesdemo.exe with DDS Blockset. I have test the communication between shapesdemo.exe with Op...

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


FastDDS ShapesDemo Can not Communicate with DDS Blockset ShapesDemo
I followed the steps illustrated in DDS Blockset ShapeExample.mlx file and have build the shapesdemo.exe successfully. I first s...

meer dan een jaar ago | 2 answers | 0

2

answers

Answered
Parse error at x
The error message shows that there is a unrecognized varialble x_initial. You should initialize it. x_initial=[.5;.5;.5];

meer dan een jaar ago | 0

Answered
Trouble with handling values in anti-diagonal of a square matrix
diagVal=8; otherVal=1; nrows=8; if mod(nrows,2) % odd A=(diagVal-otherVal)*eye(nrows) + (diagVal-otherVal)*fliplr(eye(...

meer dan een jaar ago | 1

Answered
Hello, I have a cell array with the list of files I would like to delete. However I would not like to use a for loop to loop through each file to delete it.
maybe you can use cellfun. Files={'1.txt','2.txt','3.txt'}; cellfun(@delete,Files)

meer dan een jaar ago | 0

Answered
Solving matrix equation in Matlab,
Using vectorization operator vec, which transfer a matrix to a column vector through stacking matrix's columns vertically. There...

meer dan een jaar ago | 0

| accepted

Answered
Making loop for a function 'xlsread'
xlsread is not recommended, you can use readtable/readmatrix/readcell depend on what type of data you want to read. The followi...

meer dan een jaar ago | 1

Question


Where is the Location of CMakeLists File When I Build Simulink Model With CMake?
I want to build the shapesdemo Model which is incorporated in DDS Blockset Examples. I follow the steps illustrated in accompani...

meer dan een jaar ago | 2 answers | 0

2

answers

Question


CMake Error When Building DDS Blockset shapesdemo Example Model
I want to build the shapesdemo Simulink Model which is incorporated in DDS Blockset Examples. I follow the steps illustrated in ...

meer dan een jaar ago | 0 answers | 0

0

answers

Question


How to implement Ethernet Communication in Simulink Desktop Real-Time
I want to use Ethernet Communication within Simulink Desktop Real-Time. But I do not find corresponding I/O block in Simulin...

meer dan een jaar ago | 2 answers | 0

2

answers

Answered
How to take the mean of each four adjacent position in a matrix?
A=randi(10,1536,2048); % test Matrix M=zeros(768,1024); % result Matrix for row=1:768 for col=1:1024 M(row,col...

ongeveer 3 jaar ago | 1

| accepted

Load more