Community Profile

Maklári-Klekner Tamás Pál

84 2019 이후 총 참여 횟수

Maklári-Klekner Tamás Pál's 배지

세부 정보 보기...

참여 게시물
보기 기준

해결됨

Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

4달 전

해결됨

Find the largest number
Given a vector v with 4 elements, find the largest number x. Example: Input: v = [4 7 1 6]; Output: x = 7; You mu...

4달 전

해결됨

Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

4달 전

해결됨

Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

4달 전

해결됨

Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

4달 전

해결됨

Binary Coder
Take an input number and print the binary value of this number.

4달 전

해결됨

Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

4달 전

해결됨

Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...

4달 전

해결됨

Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

4달 전

해결됨

Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

4달 전

해결됨

matrix of natural number
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 resides seially as shown in the examples below. ...

4달 전

해결됨

Box!
Given a box, find the volume of the cube. With each side = a.

4달 전

해결됨

Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

4달 전

해결됨

Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

4달 전

해결됨

Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

4달 전

해결됨

Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

4달 전

해결됨

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

4달 전

해결됨

BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

4달 전

해결됨

Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

4달 전

해결됨

Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

4달 전

해결됨

Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

4달 전

해결됨

Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

4달 전

해결됨

Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

4달 전

해결됨

Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

4달 전

해결됨

Calculate square and cube of number
Calculate square and cube of number x

4달 전

해결됨

Matlab Basics - Set unwanted parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. Example x = [1 2 3 4 5 6 7] --> ...

4달 전

해결됨

Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

4달 전

해결됨

Solve the set of simultaneous linear equations
Given this pair of simultaneous linear equations: 2x + 3y = 23 3x + 4y = 32 Find the solution set (x,y)

4달 전

해결됨

square root
Find the square root (y) of an input (x).

4달 전

해결됨

Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

4달 전

Load more