Community Profile

photo

Monica


Last seen: 29 días hace Con actividad desde 2022

Followers: 0   Following: 0

Estadísticas

  • MATLAB Flipbook Mini Hack Participant
  • Cody 10th Anniversary 10-Day Streak
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Community Group Solver
  • MATLAB Central Treasure Hunt Finisher
  • Solver

Ver insignias

Feeds

Ver por

Resuelto


Find Logic 22

7 meses hace

Resuelto


Check if a year is a leap year or not
Return 1 if a given year is a leap year or 0 if it is not

más de 1 año hace

Resuelto


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

más de 1 año hace

Resuelto


Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

más de 1 año hace

Resuelto


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

más de 1 año hace

Resuelto


Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

más de 1 año hace

Resuelto


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


Remove the positive integers.
Given array x (of integers), remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -...

más de 1 año hace

Resuelto


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

más de 1 año hace

Resuelto


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

más de 1 año hace

Resuelto


Percentage profit:2
If you are selling at x dollar, you are facing r1% profit; what will be the selling price for making r2% profit?

más de 1 año hace

Resuelto


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

más de 1 año hace

Resuelto


Linear Motion 6
An experimental vehicle traveling at v1 m/s is brought to a full stop in t seconds. How far does it travel before stopping? Roun...

más de 1 año hace

Resuelto


Find the next prime number
Find the next prime number or numbers for given n. For example: n = 1; out = 2; or n = [5 7]; out = [7 11]; ...

más de 1 año hace

Resuelto


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

más de 1 año hace

Resuelto


Replace odd number in given matrix by zero
Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

más de 1 año hace

Resuelto


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

más de 1 año hace

Resuelto


Area of a regular hexagon
Given the length of a side of a regular hexagon, return its area rounded to two decimal places.

más de 1 año hace

Resuelto


Zero or hero
A number will be given as an input. You can be hero if it's not zero. (Just for fun)

más de 1 año hace

Resuelto


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

más de 1 año hace

Resuelto


Back to basics 5 - Clipboard
Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard

más de 1 año hace

Resuelto


Tricky timing
Write a function that takes between 0.5 seconds and 0.6 seconds to run.

más de 1 año hace

Resuelto


Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

más de 1 año hace

Resuelto


Your favourite city!
Type your favourite city.

más de 1 año hace

Resuelto


Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

más de 1 año hace

Resuelto


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

más de 1 año hace

Resuelto


New Cody Time-Out Time
Determine the New Cody Time-Out Time Consume the Maximum Possible Time without Timing out. *Score:* 60 (sec) - Time (sec) ...

más de 1 año hace

Resuelto


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

más de 1 año hace

Resuelto


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

más de 1 año hace

Cargar más