解決済み


~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.

約10年 前

解決済み


the number of inputs
Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

約10年 前

解決済み


Increase monotonically
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

約10年 前

解決済み


Find Sign(Zero Crossing) Changes in Array
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1]; ans; [1 2 0 -3 -4 -1 0 2 0 -1 ...

約10年 前

解決済み


Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

約10年 前

解決済み


find out eigenvector of matrix
find out eigenvector of matrix A =eye(3); Answer is [0 0 1; 0 1 0; 1 0 0];

約10年 前

解決済み


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

約10年 前

解決済み


find whether it is prime or not
For a given number find if its prime

約10年 前

解決済み


Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...

約10年 前

解決済み


Find 10's complement
Find 10's complement of a given number. An example is <http://electrical4u.com/9s-complement-and-10s-complement/ shown here>.

約10年 前

解決済み


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

約10年 前

解決済み


チェッカーボードを作ろう
整数 n が与えられた時、以下の様な1と0を含むn×nの行列を作成しましょう。a(1,1) は1にする必要があります。 例: 入力 n = 5 出力 a が [1 0 1 0 1 0 1 0 1 0 ...

約10年 前

解決済み


Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...

約10年 前

解決済み


Convert number from given base to other base
Convert number from given base to other base. Example 400 in base 5, find equivalent number in base 8, it is 144.

約10年 前

解決済み


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

約10年 前

解決済み


imaginary results
Return the value of the imaginary number i to the power of input argument n.

約10年 前

解決済み


persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...

約10年 前

解決済み


first step for Huffman Coding (easy)
Given a string, you must sort the characters by occurrence (from lowest to highest). This step is necessary to generate a Huf...

約10年 前

解決済み


Find best placement for ordered dominoes (harder)
Given a list of ordered pairs, find the order they should be placed in a line, such that the sum of the absolute values of the d...

約10年 前

解決済み


Choose the best fitting dominoes
You will be given a cell array of nx2 matrices. Choose one row from each matrix. These are the ordered pairs that will be plac...

約10年 前

解決済み


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

約10年 前

解決済み


Unique values without using UNIQUE function
You must return unique values in a vector in *stable* mode without using the unique function. About stable order flag: ...

約10年 前

解決済み


Decoding : Find the value
'u' in the function below is of type char or string and 'v' is of type int or double. function y = your_fcn_name( u, v) ...

約10年 前

解決済み


Convert elements in numeric array into different class
Write a function that converts elements in a numeric array into a different class. Example: a = [1:5]; % class: double b...

約10年 前

解決済み


R2012b atan in Degrees
Return in degrees the atan result of inputs for all four quadrants. *Examples:* [x, y] Degrees 1 0 0 1 1 ...

約10年 前

解決済み


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

約10年 前

解決済み


Is there a GPU Device?
Return true if there is a supported GPU device available on the Cody computer.

約10年 前

解決済み


COUNT VOWEL 2
The objective of this problem is to determine the number of unique vowels used in the given string. Now count vowels in STRI...

約10年 前

解決済み


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

約10年 前

解決済み


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

約10年 前

さらに読み込む