Community Profile

# Michael Cappello

### Raytheon

906 2012 年以降の合計貢献数

#### Michael Cappello's バッジ

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

2日 前

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

2日 前

Execute Linux Commands From Windows Matlab
I am running Matlab 2013b on Windows 10. There exist a program that runs on Linux session that I normally run via Putty Relea...

4ヶ月 前 | 1 件の回答 | 0

### 1

De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

6ヶ月 前

Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

6ヶ月 前

Convert to Binary Coded Decimal
Convert from decimal representation to <http://en.wikipedia.org/wiki/Binary-coded_decimal Binary Code Decimal> (or BCD) represen...

6ヶ月 前

Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...

6ヶ月 前

Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

6ヶ月 前

"V = V.';" What Does This Syntax Mean?
The Matlab function interp2 is sprinkled with the following "V.'". For example, lines 194:196 in 2019a is X = X.': Y = Y.'; ...

8ヶ月 前 | 1 件の回答 | 0

### 1

Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

9ヶ月 前

There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

9ヶ月 前

Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

9ヶ月 前

Is There A Way to Rename the "app" Component In appdesigner?

12ヶ月 前 | 0

| 採用済み

Is There A Way to Rename the "app" Component In appdesigner?
When you start appdesigner, the canvas window contains a single UIFigure. You can access the UIFigure via syntax like "app.UIFi...

12ヶ月 前 | 1 件の回答 | 0

### 1

Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

1年以上 前

Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

1年以上 前

BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

1年以上 前

Easy problem
This is an easy problem. Just click on submit.

1年以上 前

Simple Decoder Ring
The stereotypical _decoder ring_ is remembered as a cereal box prize from the 1950s. Kids learned about cryptography by startin...

1年以上 前

ABBREVIATION
Abbreviate the given string. Consider Only Capital Letters. EXAMPLE If input is 'Abbreviation of The Given String' then ou...

1年以上 前

Count letters occurence in text, specific to words with a given length.
Build a function with two input arguments: a string and a word length (number of letters), that outputs a vector of counts of th...

1年以上 前

Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

1年以上 前

Eliminate Polysyllabics: Long live short words!
Given a string s1, return s2 in which all the words with more than one syllable have been removed. To make things simple, we ...

1年以上 前

Simple Caesar Cypher - shift encrypt a message given an index number
A Caesar cypher is a simple shift encryption method. Your goal is to create a function that allows a user to input a string and ...

1年以上 前

Swapping Letters Using Regular Expression
I want to take a character array, find the first vowel and move it to the end. Some examples 'Fred' --> 'Frde' 'Replace' --> ...

1年以上 前 | 1 件の回答 | 0

### 1

Suppress the French accent. Example 'Déjà présent' -> 'Deja present'

1年以上 前

Compress strings (not springs)
Please remove excess space, limit one space between others, and no space before punctuation marks. * For example, 'Trendy , ...

1年以上 前

English to Pig Latin Translator
Pig latin is a faux-language based off of English. The rules are as follows (excerpted from the wikipedia entry for Pig Latin): ...

1年以上 前

Pig Latin to English Translator
Pig latin is a faux-language based off of English. The rules are as follows (excerpted from the <http://en.wikipedia.org/wiki/Pi...

1年以上 前

Use of regexp
Given a string, containing several sentences, such as: 'I played piano. John played football. Anita went home. Are you safe?...

1年以上 前