Community Profile

photo

Lance S


Active since 2019

Programming Languages:
Python, Java, MATLAB, Ruby, HTML, CSS, Shell
Spoken Languages:
English

Statistics

All
  • Solver
  • MATLAB Mini Hack Participant
  • First Answer

View badges

Content Feed

View by

Solved


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

6 mois ago

Solved


Broken numlock key, oppps !
The numlock key on my computer is pressed and is now broken, so I cant press it to switch off the numlock mode. And hence I am n...

6 mois ago

Solved


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

6 mois ago

Solved


Legend of Zelda - Rupee Count (Compact)
Building off of <https://www.mathworks.com/matlabcentral/cody/problems/3025-zelda-rupee-count Problem 3025>, suppose that Link's...

6 mois ago

Solved


Did you say please? - Find one string within another without strfind or regexp/regexpi
For a given string sentence, determine if the string word 'please' is present or not. If so, return the string 'OK', else return...

6 mois ago

Solved


Reverse within string
If input is a string 'yellow' the output should be 'leywol'. Locate the middle of the string and reverse the first (yel) and sec...

6 mois ago

Solved


Legend of Zelda - Rupee Count
Rupees are the main currency in The Legend of Zelda games. The value of each rupee is determined by its color. Unfortunately, th...

6 mois ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 mois ago

Answered
How can i create a figure which I can put on other?
I'm not sure what you're aiming to do, but you could use the hold function to plot two or more graphs on the same graph, like th...

environ 3 ans ago | 0