Community Profile

# Nicholas Sloane

##### Last seen: 3 maanden ago
11 total contributions since 2018

#### Nicholas Sloane's Badges

View details...

Contributions in
View by

Solved

Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

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

7 maanden ago

Solved

Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

bijna 2 jaar ago

Solved

Remove the small words from a list of words.
Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

bijna 2 jaar ago

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

bijna 2 jaar ago

Solved

Find out phase angle of second order system.
Find out the phase angle of a second order system. In a control system, the phase angle is given by the inverse of cos.

bijna 2 jaar ago

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

bijna 2 jaar 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 ...

bijna 2 jaar ago

Solved

Return area of square
Side of square=input=a Area=output=b

bijna 2 jaar ago

Solved

Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

bijna 2 jaar ago

Question

Looking for a workflow to create a .fmu model from my current Simulink model
I currently have a simulink model using the following packages: * Simscape * Stateflow Is there a known or recommended ro...

bijna 3 jaar ago | 0 answers | 0

answers