A résolu


Longest run of consecutive numbers (★★★★★)
(copy of Problem 672) Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you...

presque 6 ans il y a

A résolu


Remove the row average (★★★)
(copy of Prob. 963) Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solut...

presque 6 ans il y a

A résolu


Replicate elements in vectors (★★★)
(copy of Prob 867) Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2...

presque 6 ans il y a

A résolu


Get the elements of diagonal and antidiagonal for any m-by-n matrix (★★★★)
(copy of prob. 859) In this problem you must submit a solution which returns the diagonal and anti-diagonal elements without ...

presque 6 ans il y a

A résolu


Reindex a vector (★★)
(copy of Prob. 676) You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX h...

presque 6 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...

presque 6 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.

presque 6 ans il y a

A résolu


Volume of Cylinder
Find the volume of a cylinder

presque 6 ans il y a

A résolu


Volume of Equilateral Triangle Prism
Find volume of equilateral triangle prism x = side of triangle l = length of prism

presque 6 ans il y a

A résolu


Determine the factorial of a number

presque 6 ans il y a

A résolu


Factorize uniquely! (★★)

presque 6 ans il y a

A résolu


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

presque 6 ans il y a

Problème


List all of the integer points in a bounded feasble region

presque 6 ans il y a | 3 | 8 solveurs

A résolu


Frequency Analysis of Text
Frequency analysis is a common task in cryptoanalysis. It is essentially counting the occurrences of alphabets (regardless of ca...

presque 6 ans il y a

Problème


Grouped Frequency Distributions

presque 6 ans il y a | 1 | 12 solveurs

Problème


Inequalities

presque 6 ans il y a | 2 | 12 solveurs

A résolu


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

presque 6 ans il y a

A résolu


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

presque 6 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 ...

presque 6 ans il y a

A résolu


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

presque 6 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...

presque 6 ans il y a

A résolu


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

presque 6 ans il y a

A résolu


Polygon Interior Angle Sum
Theorem is (n−2)x180°

presque 6 ans il y a

A résolu


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

presque 6 ans il y a

A résolu


Mile to Kilometer
x is mile and y is km

presque 6 ans il y a

A résolu


Watt
Ampere x Volt = Watt

presque 6 ans il y a

A résolu


find the stepnumber?
you can find the stepnumber.

presque 6 ans il y a

A résolu


sumdigits
function [p1,p2] = goldbach(n) for p1 = 1:n if isprime(p1) p2 = n - p1; if isprime(p2) re...

presque 6 ans il y a

A résolu


counting sequence
A counting sequence is formed by "counting" the entries in a given sequence.

presque 6 ans il y a

A résolu


Vector of digits (★★)
Given a positive integer x, construct a vector y with all the digits of x in the order of appearance in x. Thus, if x = 172...

presque 6 ans il y a

Charger plus