Community Profile

photo

Daniel


Last seen: 13 days ago

NTNU

8 total contributions since 2014

Contact

Daniel's Badges

  • First Review
  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 1
  • First Answer
  • Solver

View details...

Contributions in
View by

Solved


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

3 years ago

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

3 years ago | 1

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

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

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

4 years ago | 1 answer | 0

1

answer

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

5 years ago

Solved


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

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

5 years ago