Solved


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

9 years ago

Solved


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

9 years ago

Solved


NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

9 years ago

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

9 years ago

Solved


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

9 years ago

Solved


Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

9 years ago

Solved


Your favourite city!
Type your favourite city.

9 years ago

Solved


Wrapping the Tower of Pisa
The famous artist Christo Vladimirov Javacheff, who likes pizza, wants to wrap the well-known Italian tower in paper. It is a ci...

9 years ago

Solved


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

9 years ago

Solved


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

9 years ago

Solved


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

9 years ago

Solved


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

9 years ago

Solved


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

9 years ago

Answered
find contiguous region with highest values
There may be a nice (but slightly complicated) way of getting the *linear indices* here. The idea is something like this: Get co...

9 years ago | 0

Answered
How to put dates on de x-axis
If each of the values in your vector were to be associated with their corresponding dates, then you could plot them. A simple wa...

9 years ago | 0

| accepted

Answered
What is wrong with my solve function?
Run only the first half of it. x has to be symbolic. if true syms x eqn = sin(x) == 1; solx = solve(eqn,x) ...

9 years ago | 0

Answered
Problem with a function: "??? Undefined function or variable 'x'"
The input argument |*f*| is a symbolic expression. You are probably seeing the error because the variable |*x*| has not been ...

9 years ago | 0

Answered
Combinations of values of array of vectors (of different lengths) but ONLY in order the vectors appear in the array?
If I understand your question right, I think that your problem is one of creating unique combinations out of unequal length vect...

9 years ago | 2

| accepted

Answered
How do I calculate the space betwween left side of the page and the beginning of the text?Similarly how do I calculate the space betwween ending of the text and right side of the page.
Please look into the |ocr| function <http://mathworks.com/help/vision/ref/ocr.html here> and also look into related tools in the...

9 years ago | 0

Answered
How can I plot a complex transfer function with sweeping parameter?
I would suggest that you use as large an upper limit (a very very big number) for R_1 as possible. Also as an observation, I...

9 years ago | 0

| accepted

Answered
How do I plot a periodic square-wave for 10 cycles, 5 cycles in advance of t=0 and 5 cycles to the right of t=0 using a unit step function?
A square wave is more accurately an impulse function (that is also periodic), which is the first derivative of a step function. ...

9 years ago | 0

| accepted

Answered
How can I write both number and text to a file?
The easiest way to do this would be to write the entire line as a string into a text file, something like: x = 'BEGIN 0.00 0...

9 years ago | 0

| accepted

Answered
Hi, I would like to generate a colored screen with a 4
Create a simple GUI with four blocks for the colors. http://mathworks.com/videos/creating-a-gui-with-guide-68979.html

9 years ago | 0

Answered
Writing a switch structure, and i can not get it to display my second response.
The switch case names and the inputs for the switched variable |response| do not match here. The input response from the user is...

9 years ago | 0

| accepted

Answered
Adding 0s and 1s to Bit Data
From what I understand, it sounds like you need to generate a |m| x |n| x |3| matrix and the easiest way might be to simply do a...

9 years ago | 1

| accepted

Answered
How can I save parameter values while using simulated annealing?
Writing values into an external file is possible but you might not be able to open the file or view progress if the file is conc...

9 years ago | 0

Answered
how can i delete special shape in image?
Before you write a (somewhat complicated) piece of code to remove these rectangular areas, the question I would ask is this: Do ...

9 years ago | 0

Solved


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

9 years ago

Solved


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

10 years ago

Solved


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

10 years ago

Load more