Community Profile

photo

J.R.! Menzinger


Actif depuis 2012

Statistiques

All
  • Scavenger Finisher
  • Matrix Patterns I Master
  • Indexing II Master
  • First Review
  • First Submission
  • Magic Numbers II Master
  • Matrix Patterns II Master
  • Cody Challenge Master
  • Cody Problems in Japanese Master
  • Draw Letters
  • Introduction to MATLAB Master
  • Community Group Solver

Afficher les badges

Content Feed

Afficher par

A résolu


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

7 jours il y a

A résolu


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

7 jours il y a

A résolu


Upstairs!
The stair has n steps. Every times you can up one or two steps. Give all the different solutions to upstairs. For example n ...

plus de 2 ans il y a

A résolu


Vector to Decimal
Given an integer vector , return its decimal representation as a character array. % Examples v = 7 x = '7' % v = [4 2] x...

plus de 2 ans il y a

A résolu


Write c^3 as sum of two squares a^2+b^2
write c^3 as sum of two squares a^2+b^2. a and b must be integer and greater than zero. For example 5^3 = 2^2 + 11^2 5...

plus de 2 ans il y a

A résolu


Draw a x-by-x matrix British flag (Euro 2020)
Draw a x-by-x matrix 'British flag' using '0' and '1'.(x is odd and bigger than 4) x = 5 answer = [0 0 1 0 0 ...

plus de 2 ans il y a

A résolu


Draw matrix 'Swiss flag'( Euro 2020)
Draw a x-by-x matrix 'Swiss flag' using '0' and '1'.(x is odd and bigger than 4) Example x=5 ...

plus de 2 ans il y a

A résolu


Recaman Sequence - I
Recaman Sequence (A005132 - <http://oeis.org/A005132 - OEIS Link>) is defined as follow; seq(0) = 0; for n > 0, seq(n) ...

plus de 2 ans il y a

A résolu


Real

plus de 2 ans il y a

A résolu


imaginary

plus de 2 ans il y a

A résolu


Find the outlier in a set of samples
Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

plus de 2 ans il y a

A résolu


Area of a pentagon
Given the side of a regular pentagon and its apothem return the area of pentagon. Remember the area of pentagon is calculate ...

plus de 2 ans il y a

A résolu


SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

plus de 2 ans il y a

A résolu


Assert yourself! Hack the assert function to pass this test.
Have you ever wanted to test out one of those hacks you have seen which "games" the problem by simply overwriting the assert met...

plus de 2 ans il y a

A résolu


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

plus de 2 ans il y a

A résolu


convert between ascii and characters
I have seen multiple problems like this but none of them have a robust test suite associated with them. The first input C is ...

plus de 2 ans il y a

A résolu


Percentage
There is x liter water and y gram => z is percentage of salt in water

plus de 2 ans il y a

A résolu


Average of even-numbered columns
Given a vector, find the average of even-numbered columns. e.g x = [ 4 6 8 9 1 2 7 ] y = ( 6 + 9 + 2 ) / 3

plus de 2 ans il y a

A résolu


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

plus de 2 ans il y a

A résolu


Find the absolute value of of the array

plus de 2 ans il y a

A résolu


how tall are you?
you can find the length wit this code.

plus de 2 ans il y a

A résolu


Given A4 sizes find A3's long side
I think you know the relation between A3 and A4 paper so givens are sides of A4 x1=long side of A4 y1=short side of A4 y2 is ...

plus de 2 ans il y a

A résolu


Volume of Cylinder
Find the volume of a cylinder

plus de 2 ans il y a

A résolu


Which one is More bigger?
we have two input like (x,y) our output (z) must wich one is bigger input.

plus de 2 ans il y a

A résolu


Matrix indexing with two vectors of indices (★★)
(copy of Prob 589) Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)). Thus, if...

plus de 2 ans il y a

A résolu


Summy's even sum

plus de 2 ans il y a

A résolu


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.

plus de 2 ans il y a

A résolu


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

plus de 2 ans il y a

A résolu


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

plus de 2 ans il y a

A résolu


Finding sum of even numbers in a vector.
Find the sum of all the even numbers present in the input vector x. Examples: Input x = [1 2 3 4] Output y is 6 Input...

plus de 2 ans il y a

Charger plus