Feeds
已解决
Construct a "diagAdiag" matrix
Construct a matrix whose elements begin from 1 and end at n^2 with the order of arrangement as shown below: For: n = 4 ...
7 years 前
已回答
How to make the cursor go automatically to command window after hitting run (F5) in MATLAB R2016a?
I found the solution. Use the command "commandwindow" before you run the "input" command. This will shift the focus (from wheve...
How to make the cursor go automatically to command window after hitting run (F5) in MATLAB R2016a?
I found the solution. Use the command "commandwindow" before you run the "input" command. This will shift the focus (from wheve...
7 years 前 | 3
| 已接受
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
8 years 前
已解决
Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...
8 years 前
提问
Is it possible to use GraphicsSmoothing for lines and not for the figure box?
I see the benefits of having graphics smoothing option, available now since 2014 versions. However, I noticed that the smoothin...
9 years 前 | 1 个回答 | 0
1
个回答已解决
Assign matrix rows/columns to separate variables
This is a slight variant of <http://www.mathworks.com/matlabcentral/cody/problems/2668-assign-matrix-elements-to-separate-variab...
9 years 前
已解决
Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.
9 years 前
已解决
Find Sign(Zero Crossing) Changes in Array
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1]; ans; [1 2 0 -3 -4 -1 0 2 0 -1 ...
9 years 前