Control System Architect;

Model Based Design, System Design & Verification, TCC, D0254.

Interests(Arduino, Rasp'pi, quad/bipedal control)

Solved

Alkane

Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...

10 mois ago

Solved

Vectorizing, too easy or too hard?

Please insert a . before any ^, * or / in the string. That's it!!

10 mois ago

Solved

Binary

Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

10 mois ago

Solved

Find Index of maximum Value and maximum Value of a vector

Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector. Example: [...

10 mois ago

Solved

Ordinal numbers

Given an integer n, return the corresponding ordinal number as a character string. For example, ord(1)='1st' ord(2)=...

10 mois ago

Solved

Add more zeros

Find code that adds one 0 to each sequence of 0 in a string (composed with only 0 or 1). For example: '1010' -> '100100' ...

10 mois ago

Solved

Guess Cipher

Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifmq zpv...

10 mois ago

Solved

Column norms of a matrix

Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

10 mois ago

Solved

Colon operator of two vectors

You are given two vectors of equal length: VecStart, VecEnd Each vector contain a set of integers, where VecEnd(j)>=VecStar...

10 mois ago

Solved

Remove white space from the string

Remove the white spaces (trailing and leading) from the input variable

10 mois ago

Solved

peta to nano (x-ray)

for certain x-ray radiation, given frequency in petahertz, give wavelength in nanometer, must be accurate +/- 25%

10 mois ago

Solved

Unit Matrix

Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

10 mois ago

Solved

Use R2016b Text Manipulations to Fix These Addresses (Part 3)

We have a series of addresses like the following which we'd like to reformat. Each of the addresses lacks a space and a comma ...

10 mois ago

Solved

Replace every 3rd element in a vector with 4

x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

10 mois ago

Solved

Use R2016b Text Manipulations to Fix These Addresses (Part 2)

We have a series of addresses like the following which we'd like to reformat. All the addresses are in the Boston area of Mass...

10 mois ago

Solved

Use R2016b Text Manipulations to Fix These Addresses (Part 1)

We have a series of addresses like the following which we'd like to reformat. Can you remove the latitude and longitude from the...

10 mois ago

Solved

Combine the first and last names

MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

10 mois ago

Solved

String Array Basics, Part 3: Convert Cell Array with Missing Values to String Array

<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

10 mois ago

Solved

String Array Basics, Part 2: Convert String Array to Cell Array; No Missing Values

<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

10 mois ago

Solved

Natural numbers in string form

Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

10 mois ago

Solved

Fix the last element of a cell array

Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

10 mois ago

Solved

String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values

<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

10 mois ago

Solved

Remove element(s) from cell array

You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

10 mois ago

Solved

Determine whether the number is multiple of 3 or not

Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

10 mois ago

Solved

Volume of a box

Given a box with a length a, width b, and height c. Solve the volume of the box.

10 mois ago

Solved

Convert a Cell Array into an Array

Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

10 mois ago

Solved

Split a string into chunks of specified length

Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

10 mois ago