Community Profile

# Daniel

### NTNU

8 total contributions since 2014

View details...

Contributions in
View by

Solved

Construct a matrix whose elements begin from 1 and end at n^2 with the order of arrangement as shown below: For: n = 4 ...

casi 4 años ago

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

alrededor de 4 años ago | 2

| accepted

Solved

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

alrededor de 5 años ago

Solved

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

alrededor de 5 años ago

Question

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

más de 5 años ago | 1 answer | 0

### 1

Solved

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

alrededor de 6 años ago

Solved

Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

alrededor de 6 años ago

Solved

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

alrededor de 6 años ago