
Programming Languages:
Python, C, MATLAB
Spoken Languages:
English, Chinese
Pronouns:
He/him
Professional Interests:
Control Algorithm Design, Signal and Data Processing, Mechanical Engineering
Python, C, MATLAB
Spoken Languages:
English, Chinese
Pronouns:
He/him
Professional Interests:
Control Algorithm Design, Signal and Data Processing, Mechanical Engineering
統計
All
Feeds
解決済み
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] ...
5日 前
回答済み
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...
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...
12日 前 | 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...
12日 前 | 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...
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...
19日 前 | 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.
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.
19日 前 | 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 ...
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 ...
20日 前 | 0
回答済み
Is my CNN Correct
You can use analyzeNetwork fucntion to obtain more details of your neural network layers = [ sequenceInputLayer(1)...
Is my CNN Correct
You can use analyzeNetwork fucntion to obtain more details of your neural network layers = [ sequenceInputLayer(1)...
約1ヶ月 前 | 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 ...
約1ヶ月 前
解決済み
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 : ...
約1ヶ月 前
回答済み
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...
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...
約2ヶ月 前 | 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 ...
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 ...
約2ヶ月 前 | 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"...
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"...
約2ヶ月 前 | 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...
2ヶ月 前
回答済み
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 ...
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 ...
2ヶ月 前 | 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...
2ヶ月 前
解決済み
ICFP 2024 Programming Contest June 28 thru July 1
This is to announce the annual ICFP programming contest for 2024. The ICFP 2024 homepage link is ICFP 2024 . Registration will...
2ヶ月 前
解決済み
Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
2ヶ月 前
解決済み
Put Two 1D matrices into one 1D matrix
Example: If input a = [1 2 3 4 5]; input b = [10 9 8 7 6]; then output will be, y_correct = [1 10 2 9 3 8 4 7 5...
2ヶ月 前
解決済み
Sum along each diagonal of a matrix
Write a routine that returns the sums along the diagonals of a given matrix, A, where the first diagonal is the bottom left corn...
2ヶ月 前
回答済み
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 ...
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 ...
2ヶ月 前 | 0
| 採用済み
質問
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...
3ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
3ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
3ヶ月 前 | 1 件の回答 | 1
1
回答回答済み
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. ...
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. ...
3ヶ月 前 | 0
回答済み
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 ...
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 ...
4ヶ月 前 | 0
| 採用済み
回答済み
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 ...
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 ...
5ヶ月 前 | 0
解決済み
Project Euler Problem 48: Self Powers
The series,. Return a string of the last ten digits of the series:. Hint: Use modular arithmetic! Spoiler: The solution is...
5ヶ月 前
解決済み
Integer Division Without Remainder
Write a function that takes two positive integers, a and b, and returns the result of integer division (quotient) without remain...
5ヶ月 前
回答済み
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...
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...
5ヶ月 前 | 0
| 採用済み