Community Profile

# Nick Heinz

11 total contributions since 2018

View details...

Contributions in
View by

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

environ un mois ago

Solved

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

environ un mois ago

Solved

Given a and b, return the sum a+b in c.

environ un mois ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

environ un mois 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...

environ un mois 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:...

environ un mois ago

Solved

Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

environ un mois ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

environ un mois ago

Question

Converting script to function causing significant slowdown?
I have an inherited project (roughly 5k lines) where the previous author has set everything up as several scripts that all execu...

10 mois ago | 0 answers | 0

### 0

actxGetRunningServer behavior different between 2013b and 2015b 32bit (Windows 10)
So I don't really have an answer, but I figured I'd post an update for posterity. Two days ago I had my boot drive completely...

environ un an ago | 0

| accepted

Question

actxGetRunningServer behavior different between 2013b and 2015b 32bit (Windows 10)
I frequently work in 2013b and 2015b, both 32bit. I have recently noticed a strange issue after getting a new machine (Windows ...

environ un an ago | 1 answer | 0