Resuelto


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

3 meses hace

Resuelto


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

3 meses hace

Resuelto


Average of corner elements of a matrix (★★)
(copy of prob 2235) Calculate the average of corner elements of a matrix. e.g. x=[1 2 3; 4 5 6; 7 8 9;] avg = (1+3+7+9)...

3 meses hace

Resuelto


Generate a vector which contains a pyramid pattern (★★★★)
Generate a vector that contains terms that follows a pyramid pattern up to the nth row: 1 2 2 3 3 3 4 4 4 4 ...

3 meses hace

Resuelto


Doubling elements in a vector (★★)
(copy of prob. 1024) Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] t...

3 meses hace

Resuelto


Ordered pairs of integers (I, J).
Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the conditi...

3 meses hace

Resuelto


Number of o rderd pairs of integers (I,J) that can be formed.
Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the condit...

3 meses hace

Resuelto


Shape Shifter - Part 1

3 meses hace

Resuelto


Award medals to winners

3 meses hace

Resuelto


Determine the winner of a goofy golf tournament
My brother and father were playing golf one day, and they caught up to a group that was part of a tournament. The group members ...

3 meses hace

Resuelto


Find an inscribed square on a closed curve
Here's an unproven conjecture from geometry: Every simple closed curve in a plane contains all four vertices of some square. ...

3 meses hace

Resuelto


Beat the RNG - EASY

3 meses hace

Resuelto


divide by 5

3 meses hace

Resuelto


Factorize uniquely! (★★)

3 meses hace

Resuelto


Solve a ballot counting problem

3 meses hace

Resuelto


Convert Cylindrical Cooridinates into Spherical Coordinate
For Cylindrical coordinate point, rho, fie (degrees) and z. Convert these points in Spherical Cooridinate System and save result...

3 meses hace

Resuelto


Surface area of a cone

3 meses hace

Resuelto


Perimeter of a Triangle

3 meses hace

Resuelto


find the value

3 meses hace

Resuelto


Surface area of a sphere
Given the radius of a sphere, find it's Surface area

3 meses hace

Resuelto


Solve the Challenger puzzle

3 meses hace

Resuelto


Sort in descending order.

3 meses hace

Resuelto


LCM

3 meses hace

Resuelto


GCD

3 meses hace

Resuelto


Last Digit of fibonacci number

3 meses hace

Cargar más