回答済み
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...

約2ヶ月 前 | 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...

約2ヶ月 前 | 0

| 採用済み

回答済み
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...

約2ヶ月 前 | 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...

約2ヶ月 前 | 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 ...

約2ヶ月 前 | 0

| 採用済み

回答済み
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 ...

約2ヶ月 前 | 0

解決済み


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

約2ヶ月 前

解決済み


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

約2ヶ月 前

解決済み


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

約2ヶ月 前

解決済み


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

約2ヶ月 前

解決済み


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

約2ヶ月 前

解決済み


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

約2ヶ月 前

回答済み
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...

約2ヶ月 前 | 0

回答済み
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...

2ヶ月 前 | 0

| 採用済み

回答済み
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...

2ヶ月 前 | 0

| 採用済み

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


Matrix of Multiplication Facts
This is James's daughter again, sneaking into his Cody account. Thanks to your help in my math class last year, I did great! But...

2ヶ月 前

解決済み


Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...

2ヶ月 前

解決済み


Integer Sequence - II : New Fibonacci
Crack the following Integer Sequence. (Hints : It has been obtained from original Fibonacci Sequence and all the terms are also ...

2ヶ月 前

回答済み
How to add custom location of Frame in a General Flexible Plate (or any flexible body)?
Hi @Soumya Kanti, You can absolutely add custom frames at specific locations on the General Flexible Plate without using Rig...

2ヶ月 前 | 0

回答済み
How to add an image on top of geobasemap?
@Sim, I see what happened - in your case you do have the Mapping Toolbox (your geobasemap is working), but the original code syn...

2ヶ月 前 | 0

回答済み
Run a simulink model on a texas instruments TMS320F28379D with c2000
@Anaïs, after thoroughly researching the MathWorks C2000 documentation including "Detect and Fix Task Overruns on Texas In...

2ヶ月 前 | 0

回答済み
Steering System Rack and Pinion
Hi @Tran, I do appreciate your patience. After coming back from work and thoroughly examining your parameter file, analyzing ...

2ヶ月 前 | 0

| 採用済み

回答済み
the dimension of matrix when using 'sparse' to generate sparse matrix
Hi @Li, After going through recent comments, I wanted to provide a clear explanation of the situation regarding 3D sparse mat...

2ヶ月 前 | 0

解決済み


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

2ヶ月 前

解決済み


Find the definite integral of various linear functions
A definite integral had a minimum and maximum limit. When you solve this type of problem you must use both quad and the trapz fu...

2ヶ月 前

さらに読み込む