Python, C++, C, Java, C#, Javascript, R, MATLAB, SQL, HTML, CSS, Arduino, Shell, Assembly, VHDL, Visual Basic
Spoken Languages:
English
Pronouns:
He/him
Statistics
0 Questions
729 Answers
2 Files
Cody0 Problems
618 Solutions
RANK
118
of 300,967
REPUTATION
1,074
CONTRIBUTIONS
0 Questions
729 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
108
RANK
19,446 of 21,126
REPUTATION
0
AVERAGE RATING
0.00
CONTRIBUTIONS
2 Files
DOWNLOADS
2
ALL TIME DOWNLOADS
9
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
1 Discussion
AVERAGE NO. OF LIKES
0
Feeds
The generated EMPC is not giving the same results as MPC
Hi @Mayank, I came across your post about the Explicit MPC issue with your quadcopter controller, and I think I might be able t...
6 hours ago | 0
How to configure rectangular immersion cooling tank with bottom inlet and top outlet using Simscape Tank (TL) block?
Hi Raphael, I looked into your question about modeling the immersion cooling system with the Tank (TL) block. Good news on th...
19 hours ago | 0
| accepted
Transmitting on 2 different USRP B210
Hi @Andrew, I saw your post about the LIBUSB_ERROR_CODE -1 you're getting with the two USRP B210s. I've spent some time digging...
2 days ago | 0
formula for the electric charge stored accros a Schottky junction
Hi @Jaisson, I've gone through the SPICE Diode documentation and looked into the junction charge formula issue you raised. Yo...
4 days ago | 1
Fixed-point precision and scaling in HDL OFDM Tx/Rx cause frame errors compared to MATLAB double implementation.
Hi @Alperen,I've read through your post and I think you're on exactly the right track suspecting fixed-point quantization as the...
5 days ago | 0
| accepted
imuSensor loadparams unable to load NoiseType from json File
Hi @Brendan, I went through your post about the NoiseType parameter issue with imuSensor's loadparams function, and I complet...
7 days ago | 0
| accepted
Error in close calculation and plotting
Hi @Nikita,I've identified the issue with your code. The error occurs because detrend_correl_07_slope_1 is a table, not a regula...
11 days ago | 0
How do I add summation to a symbolic equation in order to integrate across set bounds?
Hi @Mara, I think you're actually overthinking this a bit. The numerical approach you've already started is the right way to go...
12 days ago | 1
GPU Acceleration Options for Large-Scale Simscape Microgrid Simulation
Hi @Liyang, I've looked into your questions thoroughly and want to give you a complete picture of what's possible after doing...
13 days ago | 0
| accepted
GigE Cam works with 2024B but not 2025B
Hi @Yuchen, I looked into your GigE camera detection issue with MATLAB 2025B and this appears to be a version-specific regres...
16 days ago | 1
| accepted
How can I calculate the Variance Inflation Factor (VIF) for a linear regression model
Hi @Ojaswi, I looked into the MATLAB Central thread you shared about calculating VIF for your DOE models. The issues you ran ...
17 days ago | 0
| accepted
Solved
Combined Ages 2 - Symmetric, n ≥ 3
Following on <http://www.mathworks.com/matlabcentral/cody/problems/42382-combined-ages-1-symmetric-n-3 Combined Ages 2>, you wil...
24 days ago
Solved
Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...
24 days ago
Solved
System of equations
Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance, [ 2 0 4; => 2*x = 4 ...
24 days ago
Solved
linear least squares fitting
Inputs: * |f|: cell-array of function handles * |x|: column vector of |x| values * |y|: column vector of |y| values, same l...
24 days ago
Solved
Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...
24 days ago
how to plot these 2 column data into a curve on oxy plane
Hi @晓通, I saw your question about plotting 2-column data as a curve on the Oxy plane. I've tested a solution with your matlab...
24 days ago | 2
| accepted
arduino BLE send/receive simulink problem
@Paul, After going through some extensive research online into this issue, it looks like you're dealing with a genuine Simulink ...
26 days ago | 0
| accepted
How do I turn this Simulink model with Gain Control to Pole Placement?
@Farzad, your state-space block outputs displacement and velocity but not acceleration, so you need to compute acceleration usin...
29 days ago | 0
matlab -batch on SLURM prints errors when HOME is shared across many nodes
Hi @Lang, So I did a deep dive on that MATLAB Connector error you're seeing on your SLURM cluster, and yeah, this is definite...
30 days ago | 0
| accepted
interp1() returns a plot with empty sections
Hi @Ata, I took a look at your code and screenshot of Excel file. The problem is that your t vector goes beyond the ran...
1 month ago | 0
How to import the SPICE model of MOSFET into MATLAB?
Hi @lin, Good news - I found exactly what you're looking for! MATLAB has built-in functionality to import SPICE MOSFET models...
1 month ago | 0
How can I make use of the full window size when zooming into very tall images?
@RalfW, I tested your code with an image saved in my MATLAB Drive and can confirm exactly what you're describing. The zoomed ...
1 month ago | 0
| accepted
How do I use MATLAB's actxserver function to pass an array to LABVIEW
@新云 , Your empty outputs are happening because of a fundamental mismatch in how MATLAB and LabVIEW handle arrays through the ...
1 month ago | 0
Solved
Permute diagonal and antidiagonal
Permute diagonal and antidiagonal For example [1 2 3;4 5 6;7 8 9] -> [3 2 1;4 5 6;9 8 7] WITHOUT diag function (and variable n...
1 month ago
Solved
Rotate input square matrix 90 degrees CCW without rot90
Rotate input matrix (which will be square) 90 degrees counter-clockwise without using rot90,flipud,fliplr, or flipdim (or eval)....
1 month ago
Solved
Removing rows from a matrix is easy - but what about inserting rows?
Assume A is a 5-by-5 matrix. A([2,4],:) = [] is a quick way to remove rows 2 and 4. Can you find a quick way to insert rows into...
1 month ago
Solved
Operate on matrices of unequal, yet similar, size
You may want to add a vector to a matrix, implying that the vector is added to each column of the matrix. Or multiply a 3x4x5 ma...
1 month ago
Solved
Matrix with different incremental runs
Given a vector of positive integers a = [ 3 2 4 ]; create the matrix where the *i* th column contains the vector *1:a(i)...
1 month ago











