Community Profile

photo

DamTyb


Vallourec Oil and Gas France

469 2012 이후 총 참여 횟수

담당자

DamTyb's 배지

  • ASEE Challenge Master
  • CUP Challenge Master
  • Promoter
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


Add 7
Given an input variable x, output a variable y that is 7 greater than x. Example: Input x = 1 Output y is 8 Input ...

약 4년 전

해결됨


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

약 4년 전

해결됨


Related Vectors
I have two vectors A & B. If the values in vector A is zero then the corresponding value in vector B should be zero. Example:...

약 4년 전

해결됨


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

약 4년 전

해결됨


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

약 4년 전

해결됨


Find Index of maximum Value and maximum Value of a vector
Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector. Example: [...

약 4년 전

해결됨


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

약 4년 전

해결됨


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

약 4년 전

해결됨


Reverse a matrix
Its simple. You have to reverse a given matrix.

약 4년 전

해결됨


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

약 4년 전

해결됨


Sophie Germain prime
In number theory, a prime number p is a *Sophie Germain prime* if 2p + 1 is also prime. For example, 23 is a Sophie Germain prim...

약 4년 전

해결됨


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

약 4년 전

해결됨


Find number of days
The input is two date in string format (dd-mm-yyyy) find out the number of days between these two dates. Example: input: ...

약 4년 전

해결됨


find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

약 4년 전

해결됨


Function definition: BMI calculator
Define a function CalculateBMI with inputs massKg and heightCm. The function returns bodyMassIndex. The function should be able ...

약 4년 전

해결됨


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

약 4년 전

해결됨


Parasitic numbers
Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

약 4년 전

해결됨


Logical operators: Flipping bits
The xor operator will toggle the bit if the bit is xored with 1. Ex: 1 XOR 0 = 1, 1 XOR 1 = 0. The xor operator will retain th...

약 4년 전

해결됨


ASCii Code
Using Matlab get the ASCii for '?'

약 4년 전

해결됨


Logical operators and arrays: 3-input and truth table
Given 3 inputs (inputA, inputB, inputC), assign threeInputAnd with the truth table outcomes for a 3 variable logical-and operati...

약 4년 전

해결됨


Extracting data: Heart rate (pulse)
The resting heart rate for an average adult is 60 - 100 beats per minute. Assign row array heartExtracted with all values in row...

약 4년 전

해결됨


Logical variables: Running late?
* Assign onTime with true if noTraffic is true and gasEmpty is false.

약 4년 전

해결됨


Create a function handle that reverses the input arguments of another function handle
Given a function that takes two input arguments and returns one output, create another function handle that performs the same op...

약 4년 전

해결됨


Indexing the array: Shift right with variable sized arrays
* Write a statement to shift the array contents 1 position to the left. * Assign the rightmost element with -1. Ex: [12, 85...

약 4년 전

해결됨


Nth root.
* Assign outValues with the nth root of the inValues, the root is specified by rootValue

약 4년 전

해결됨


Constructing strings
* Construct a string alphaString from 'a' to endLetter, using the double colon operator. Ex: If endLetter = 'e', then alphaSt...

약 4년 전

해결됨


N-Cards Problem
You have a deck of _N_ cards numbered in order from 1 to _N_. You discard the top card (card 1) and place the next card (card 2)...

약 4년 전

해결됨


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

약 4년 전

해결됨


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

약 4년 전

해결됨


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

약 4년 전

Load more