Risolto

Pangrams!

A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

circa 5 anni fa

Risolto

Replace NaNs with the number that appears to its left in the row.

Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

circa 5 anni fa

Risolto

Counting Money

Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

circa 5 anni fa

Risolto

Remove all the consonants

Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

circa 5 anni fa

Risolto

Remove the vowels

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

circa 5 anni fa

Risolto

letter yes yes & letter no no

Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

circa 5 anni fa

Risolto

Output any real number that is neither positive nor negative

Output any real number that is neither positive nor negative

circa 5 anni fa

Risolto

Generate a string like abbcccddddeeeee

This is the string version of Problem 1035. <http://www.mathworks.com/matlabcentral/cody/problems/1035-generate-a-vector-like-1-...

circa 5 anni fa

Risolto

The 5th Root

Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

circa 5 anni fa

Risolto

Love triangles

Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

circa 5 anni fa

Risolto

How to subtract?

*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...

circa 5 anni fa

Risolto

imaginary results

Return the value of the imaginary number i to the power of input argument n.

circa 5 anni fa

Risolto

Was ist denn los?

Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

circa 5 anni fa

Risolto

Power supply: 230V to 115V

The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

circa 5 anni fa

Risolto

vector to string

Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

circa 5 anni fa

Risolto

How to calculate log?

There is a log that have base 5. How to calculate? log5(x)?

circa 5 anni fa

Risolto

Size of this cup?

The given vector has diameter of the cup in mm sampled at micrometer increments in depth from top to bottom, need output in cc a...

circa 5 anni fa

Risolto

Fizz Buzz

Given an array of positive, non-zero, integers, return a cell array of strings the same size as the input, where each element in...

circa 5 anni fa

Risolto

Calculate the height of an object dropped from the sky

Assume that an object is dropped from 1000 meters above the surface of the earth at time t=0. The object is dropped such that t...

circa 5 anni fa

Risolto

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

circa 5 anni fa

Risolto

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

circa 5 anni fa

Risolto

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

circa 5 anni fa

Risolto

Find the 9's Complement

Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

circa 5 anni fa

Risolto

Armstrong Number

Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-D...

circa 5 anni fa

Risolto

Evil Number

Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

circa 5 anni fa

Risolto

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

circa 5 anni fa

Risolto

Convert a Cell Array into an Array

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

circa 5 anni fa

Risolto

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

circa 5 anni fa

Risolto

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

circa 5 anni fa