解決済み


How many ways?
Create a program to determine in how many ways can a regular n-gon be divided into n-2 triangles?

5年以上 前

解決済み


Sky full of stars - 03
draw the following pattern with asterisks. For example, for n=6 '************' '***** *****' '**** ****' ...

5年以上 前

解決済み


MinMax
* x=[2 4 3 1 6 4 6] * output , y=[1 6 2 4 3] here,y(1) is the minimum of x, y(2) is the maximum of x, y(3) is the 2nd mini...

5年以上 前

解決済み


Fault in our Stars - 02
Create a window pattern with h-horizontal bars and v-vertical bars. For example, for h=4,v=4 '**********' '* ...

5年以上 前

解決済み


Sieve of Eratosthenes
Find the nth lucky prime number. <https://planetmath.org/luckyprime> can u find a way for large n?

5年以上 前

解決済み


How lucky r u ?
Find the nth number in the following sequence <https://oeis.org/A264940>

5年以上 前

解決済み


Queen's move
given a number of consecutive moves of queen, check for their validity based on their previous position.... but remember if u g...

5年以上 前

解決済み


No of squares in a grid
given a m*n grid calculate the no of possible squares & rectangles on that grid. output: y=[no of rectangles , no of sqa...

5年以上 前

解決済み


another bullseye
create matrix like below -- for x=2, y=[1 1 1 1 1; 1 2 2 2 1; 1 2 3...

5年以上 前

解決済み


Amicable pair
Amicable numbers are two different numbers such that the sum of the proper divisors of each is equal to the other number. For...

5年以上 前

解決済み


Yoonir - 02
Find the area of a six-pointed star inscribed in a circle of radius r.

5年以上 前

解決済み


chess position
given the position of a chess piece in algebric notation, convert it into 8 by 8 matrix format. For example, * 'Qd5' >> [3,4]...

5年以上 前

解決済み


En passant - 01
This is white's turn. The player moves his pawn. The pawn's previous and current positions are given. Determine whether th...

5年以上 前

解決済み


Fault in our Stars - 01
Create a ladder pattern with n-steps and b-width. For example, For n=2, b=5 -- the ladder would look like - '* ...

5年以上 前

解決済み


Most Frequent Word - 01
Given a document file or a character array, find out the most frequent word in that document. In the case of multiple words -...

5年以上 前

解決済み


Decimal to binary conversion (without using built-in function)
convert the given decimal number to its equivalent binary without using built-in function. * n=18 * out='10010'

5年以上 前

解決済み


Abelian Sandpile - 02
Generate a matrix like Abelian Sandpile where the four corner element is n. For example, n=4 [4 3 2 1 ...

5年以上 前

解決済み


Check transmitted data follow even parity (True or false)
Check transmitted data follow even parity (True or false) <http://en.wikipedia.org/wiki/Parity_bit/ Parity Bit> Say, '010...

5年以上 前

解決済み


Number of Flip Flop required in ripple counter
Find the number of flip flop required in ripple counter. If modulus of counter (N) is given find outnumber of Flip Flop (n) r...

5年以上 前

解決済み


Convert Decimal Number to Hex number (including non integer value)
Convert Decimal Number to Hex number (including non integer value) E.X. (2598.675) in decimal = A26.ACCC in hexa

5年以上 前

問題


Solve a nonlinear difference equation

5年以上 前 | 1 | 28 個のソルバー

解決済み


adding huge numbers
Write function called huge_add that adds together two positive integers of any length specified as char vectors using decimal n...

5年以上 前

解決済み


surface of parallelogram
Given 2 vectors of each 3 elements, determine the surface of the parallelogram which can be created from these 2 vectors.

5年以上 前

解決済み


Tony's trick for duplicating an mx1 vector n times
Without using repmat, or for loop, or concatenation, create a function to duplicate a vector, v, a specified number of times, n....

5年以上 前

解決済み


matrix rows and columns

5年以上 前

解決済み


unsolvable

5年以上 前

解決済み


Number of occurrences of letter in a text
Given an input text either as a string or as a cell array of strings, return a (1 x 26) matrix containing the number of occurren...

5年以上 前

解決済み


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

5年以上 前

解決済み


Adjoint matrix
given a matrix a, find the adjoint matrix of a.

5年以上 前

解決済み


Can the knight take out the pawn?
* position of knight = k * position of pawns = p can the knight take out those pawns? * k='Nf4' * p={'g6','g7'} then...

5年以上 前

さらに読み込む