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

nästan 2 år 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 ] ...

nästan 6 år 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 = [...

mer än 7 år 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...

mer än 8 år 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...

mer än 8 år 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...

mer än 8 år ago

Solved

Determine if input is odd

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

mer än 8 år 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:...

mer än 8 år ago