Gelöst


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

mehr als 4 Jahre vor

Gelöst


Largest Prime Number
Given a matrix X, find the largest prime number in X.

mehr als 4 Jahre vor

Gelöst


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

mehr als 4 Jahre vor

Gelöst


Step up
For given input array, output a array with all elements step up by two

mehr als 4 Jahre vor

Gelöst


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

mehr als 4 Jahre vor

Gelöst


Permutations of input vector
Find and output all permutations of given vector

mehr als 4 Jahre vor

Gelöst


Output a vector which is table of 9
Output a vector which is table of 9

mehr als 4 Jahre vor

Gelöst


The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

mehr als 4 Jahre vor

Gelöst


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

mehr als 4 Jahre vor

Gelöst


Make a Plot with Functions
Make a plot and test

mehr als 4 Jahre vor

Gelöst


Which Prime
Given two prime numbers, specify the relation between them i.e. - 'Twin Prime', 'Cousin Prime', 'Sexy Prime' or 'None'

mehr als 4 Jahre vor

Gelöst


Approximation of Pi (vector inputs)
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

mehr als 4 Jahre vor

Gelöst


Large Sum (inspired by Project Euler 13)
Your function will be provided an arbitrary number of numbers of arbitrary sizes as a cell array of strings. Some numbers will b...

mehr als 4 Jahre vor

Gelöst


How to multiply?
Imagine you are in 3012 Anno Domini, when everyone must learn how to multiply, and competing for the highly prestigious post of...

mehr als 4 Jahre vor

Gelöst


How to add?
* Imagine you are in 2222 Anno Domini, when everyone must learn how to add, * and competing for the highly prestigious post of,...

mehr als 4 Jahre vor

Gelöst


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

mehr als 4 Jahre vor

Gelöst


Is X a Fibonacci Matrix?
In honor of Cleve's new blog and post: <http://blogs.mathworks.com/cleve/2012/06/03/fibonacci-matrices/> Is X a Fibonacci ...

mehr als 4 Jahre vor

Gelöst


I've got the power! (Inspired by Project Euler problem 29)
Consider all integer combinations of a^b and b^a for the integer values 2 ≤ a ≤ 4 and 2 ≤ b ≤ 5: 2^2=4, 2^3=8, 2^4=16,...

mehr als 4 Jahre vor

Gelöst


Expand a term
Given a term, as a string, expand it. e. g. f = '2(x + y)';

mehr als 4 Jahre vor

Gelöst


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

mehr als 4 Jahre vor

Problem


Backgammon #5 - Valid Move?
A previous problem in this occasional series (Problem 45967) set up a possible representation of a backgammon board: White ston...

mehr als 4 Jahre vor | 1 | 2 Lösungsvorschläge

Gelöst


Four digit number ABCD reversal
write a MATLAB function to find the four-digit number ABCD when multiplied by 4 returns DCBA. The function takes an input x=4.

mehr als 4 Jahre vor

Gelöst


Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

mehr als 4 Jahre vor

Gelöst


Space Saver
Remove all characters that are below a space in ASCII value.

mehr als 4 Jahre vor

Gelöst


root?
* Given a function 'foo', and a position 'there', find the root near 'there'. * For example: If foo=@sin, and there=3.1, then r...

mehr als 4 Jahre vor

Gelöst


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

mehr als 4 Jahre vor

Gelöst


Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

mehr als 4 Jahre vor

Gelöst


replace empty matrices with '[]'
for example a=1;a(:,1)=[]; returns a = Empty matrix: 1-by-0 use this as the input,and the output should be '[]...

mehr als 4 Jahre vor

Gelöst


Your favourite city!
Type your favourite city.

mehr als 4 Jahre vor

Problem


Backgammon #4 - Dice Probabilities
Previous problems in this series have looked at how a backgammon board might be represented, and board positions manipulated and...

mehr als 4 Jahre vor | 3 | 15 Lösungsvorschläge

Mehr laden