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

9 meses hace | 1

| aceptada

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

9 meses hace | 0

| aceptada

Resuelto


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

9 meses hace

Resuelto


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

9 meses hace

Resuelto


Linear system of equations
Solve the system of equations in three variables.

9 meses hace

Resuelto


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

9 meses hace

Resuelto


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

9 meses hace

Resuelto


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

9 meses hace

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

9 meses hace | 2

| aceptada

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

10 meses hace | 0

| aceptada

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

10 meses hace | 0

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

10 meses hace | 0

| aceptada

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

10 meses hace | 0

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

10 meses hace | 1

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

10 meses hace | 0

| aceptada

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

10 meses hace | 0

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


Some Assembly Required
The input to this function is a matrix of real numbers. Your job is to assemble the rows of the matrix into one large row that ...

10 meses hace

Respondida
Incorrect addition of noise in the example: ('lte/NPDSCHBlockErrorRateExample')
Hi @Karine, You've raised a really interesting point here, and I think your observation about the missing sqrt(12/128) factor...

10 meses hace | 0

Respondida
Showing the value on the x-axis as a legend the moment the curve deviates from the x-axis
@Erkan, I have gone through your comments and understood what you're trying to accomplish! Based on your figure, you want to mar...

10 meses hace | 0

| aceptada

Respondida
Friends, how to distribute the torque of four motors on VCU, is there any learning material for this?
@饕餮王, MathWorks has some good stuff for this. If you're working with 4 motors on a VCU, the main tool you want is the Virtual Ve...

10 meses hace | 0

| aceptada

Resuelto


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

10 meses hace

Resuelto


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

10 meses hace

Resuelto


N-Dimensional Array Slice
Given an N-dimensional array, _A_, an index, _I_, and a dimension, _d_, return the _I_ th elements of _A_ in the _d_ dimension. ...

10 meses hace

Resuelto


MatCAT - Reconstruct X from Its X-rays
Consider a matrix x x = [ 1 2 0 0 5 0 3 0 8 ] If we sum x along the rows we get row_sums = [3 5 11] ...

10 meses hace

Resuelto


matrix zigzag
Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

10 meses hace

Cargar más