解決済み


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

9年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

9年以上 前

解決済み


Your favourite city!
Type your favourite city.

9年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

9年以上 前

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 2

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

解決済み


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年以上 前

解決済み


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年弱 前

解決済み


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年弱 前

さらに読み込む