Gelöst


reverse the order and combine a matrix

mehr als ein Jahr vor

Gelöst


Cull vector elements that contain a specified digit
Given inputs of (1) a row vector and (2) a digit, identify the elements of that vector that contain the digit, remove them, and ...

mehr als ein Jahr vor

Gelöst


Draw 'Y'
Draw 'Y' in an x-by-x matrix (where x is odd and x >= 3) Examples: x = 3 y = [1 0 1 0 1 0 0 1 0] x = 5 y = [1...

mehr als ein Jahr vor

Gelöst


reverse string
input='rama' output='amar'

mehr als ein Jahr vor

Gelöst


Capitalized string operations
Convert the input sentence to upper case and replace all vowels with an underscore ('_')

mehr als ein Jahr vor

Gelöst


Upper case and lower case!

mehr als ein Jahr vor

Gelöst


Keep Only the Upper characters in a string
Keep Only the Upper characters in a string s = 'Sreeram Mohan'; output = SM;

mehr als ein Jahr vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

mehr als ein Jahr vor

Gelöst


Convert a vector into numbers
Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'. Examples x = [ 1...

mehr als ein Jahr vor

Gelöst


string comparision
compare two strings if both are same return 1 else return 0

mehr als ein Jahr vor

Gelöst


MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

mehr als ein Jahr vor

Gelöst


String revert
Revert all words in a sting x for example, if x = 'this is a sentence' then y should be 'sentence a is this'

mehr als ein Jahr vor

Gelöst


Check if there are white spaces in the input string
If there are white spaces in the input string, output=1 else 0

mehr als ein Jahr vor

Gelöst


SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

mehr als ein Jahr vor

Gelöst


String Logic 11
Examples: 'SUNDAY' --> 6 'MONDAY' --> 6 'TUESDAY' --> 7 'WEDNESDAY' --> 9 'THURSDAY' --> 8 'FRIDAY' --> 5 'SATURDAY' --...

mehr als ein Jahr vor

Gelöst


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

mehr als ein Jahr vor

Gelöst


Determine the length of a string of characters
Determine the length of a string of characters

mehr als ein Jahr vor

Gelöst


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

mehr als ein Jahr vor

Gelöst


Find and replaces spaces from a input string with *
For a given input string str, find how many spaces are there in the string and replace those spaces with * e.g. str = 'this is ...

mehr als ein Jahr vor

Gelöst


convert binary string to vector!!!

mehr als ein Jahr vor

Gelöst


Explode string
Break a sentence into cell of words

mehr als ein Jahr vor

Gelöst


Calculate vowel / consonant ratio of a string
Given a string, calculate the ratio of vowels to consonants for example : x = 'This is a very good Day!' y = 7/11

mehr als ein Jahr vor

Gelöst


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

mehr als ein Jahr vor

Gelöst


Namespace
Create a set of n variable names 'a_1',...,'a_n' The result should be a column oriented cell array of strings. Example inp...

mehr als ein Jahr vor

Gelöst


Return strings encapsulated by braces
Return all substrings that are contained within braces ({}). For example: str = 'x = rho*x{-1} + (1-rho)*y{+1}'; when...

mehr als ein Jahr vor

Gelöst


Reverse a string
Return a string with the characters in reverse order from a given input string Ex: my_str = "Ciao" function should output "...

mehr als ein Jahr vor

Gelöst


Find index of a string in a cell array
Write a function that finds the index at which the cell array of strings C contains the exact string S. So if C = {'twe...

mehr als ein Jahr vor

Gelöst


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

mehr als ein Jahr vor

Gelöst


Compare two strings.
Compare two strings, whether they are equal or not.

mehr als ein Jahr vor

Mehr laden