photo

krushnasamy subramaniyan


SRM UNIVERSITY

Last seen: ungefär 2 år ago Active since 2015

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


Write a function called bell that returns the first n rows of the Bell triangle, where n is an input argument. The function must return an n-by-n array where the the top left triangle contains the Bell triangle with each row of the Bell triangle posi
"Write a function called bell that returns the first n rows of the Bell triangle, where n is an input argument. For a precise de...

ungefär 9 år ago | 2 answers | 0

2

answers

Question


Write a function called censor whose first input argument is a cell vector (row or column) of strings and whose second input argument is a string. It removes each element of the cell vector whose string is either identical to the second input argumen
str={'hi' 'me' 'if' {'yes' 'no' 'hi'} {'for' 'while' 'all'} 'hi'}; %example element='hi'; %remove 'hi' str(strcmp(str,element)...

ungefär 9 år ago | 0 answers | 0

0

answers

Question


Cell Array of Strings function help
Write a function called censor whose first input argument is a cell vector (row or column) of strings and whose second input arg...

ungefär 9 år ago | 0 answers | 0

0

answers

Question


Write a function called roman that takes a string representing an integer between 1 and 20 inclusive using Roman numerals and returns the Arabic equivalent as a number of type uint8. If the input is illegal or its value is larger than 20, roman retur
Write a function called roman that takes a string representing an integer between 1 and 20 inclusive using Roman numerals and re...

ungefär 9 år ago | 1 answer | 0

1

answer