Mechanical Engineer, specialiced in gearing.

Professional Interests: optimization, photography

Question

How to create a Legend in UIextras?

Hello, I created some small calculator/plotter, but I would like to add a legend to the plot, which does not work: Here is a w...

21 days ago | 0 answers | 0

Question

I need help with string formatting

Hello, I need a formatted string and came up with this: colFormatWidth = [ 5 25 10 10 10 10 5 5 5 5 10 ] ...

4 years ago | 1 answer | 0

Question

Create a matrix with same diagonal elements

Hello World, I have a vector x = [x_1 x_2 x_3] and would like to create a Matrix which looks like this: X = [...

5 years ago | 2 answers | 0

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

6 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

6 years ago

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

6 years ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

6 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 years ago