Community Profile

Noriko HOUNOKI

Last seen: 4 maanden ago Active since 2017

All

Content Feed

View by

Solved

Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

4 maanden ago

Solved

Converts numbers into characters
Converts numbers into characters

4 maanden ago

Solved

Find the max element of the array
Find the max element of the array

4 maanden ago

Solved

Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

4 maanden ago

Solved

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

4 maanden ago

Solved

to the 2 all elements
to the 2 all elements

4 maanden ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

4 maanden ago

Solved

Double all elements in the array
Duplicate all elements in the array

4 maanden ago

Solved

calculate the length of matrix
input 1 array, calculate the length

4 maanden ago

Solved

Draw a '0' in a one matrix!

4 maanden ago

Solved

Remove the middle element from a vector
Remove the middle element of a vector? *Example:* [1,2,3] should return 2 [1,2,3,4] should return 2 [] should return...

4 maanden 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'

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

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

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

6 maanden ago

Solved

Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

bijna 2 jaar ago

Solved

Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

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

bijna 2 jaar ago

Solved

Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

bijna 2 jaar ago

Solved

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

bijna 2 jaar ago

Solved

Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

bijna 2 jaar ago

Solved

~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...

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

meer dan 2 jaar 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....

meer dan 2 jaar ago

Solved

Calculate Alcohol By Volume with Original and Final Gravity
Given an initial gravity of un-fermented wort (OG) and a final gravity of fermented wort (FG), better known as beer, it is possi...

bijna 3 jaar ago

Solved

Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

bijna 3 jaar ago

Solved

Convert decimal to hex as shown in test cases
Convert decimal to hex as shown in test cases.

bijna 3 jaar ago

Solved

generate the matrix
given a value n (say 4) - generate the matrix like below y= [0 1 2 3 4; -1 0 1 2 ...

bijna 3 jaar ago

Solved

Area-03
There are two circles of equal size are inscribed inside a square. They are tangent to each other. <https://serving.photos.ph...

bijna 3 jaar ago

Solved

Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

bijna 3 jaar ago