photo

John


Actif depuis 2025

Followers: 0   Following: 0

MATLAB!

Statistiques

Cody

1 Problème
399 Solutions

RANG
N/A
of 300 989

RÉPUTATION
N/A

CONTRIBUTIONS
0 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
0.00%

VOTES REÇUS
0

RANG
 of 21 131

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
343
of 172 248

CONTRIBUTIONS
1 Problème
399 Solutions

SCORE
4 785

NOMBRE DE BADGES
13

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • CUP Challenge Master
  • Creator
  • Community Group Solver
  • MATLAB Central Treasure Hunt Finisher
  • Promoter
  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


Leaderboard for the Nedball World Cup
At the upcoming inaugural Nedball World Cup, organizers need to track who is in the lead for the coveted Golden Toeplitz trophy,...

2 mois il y a

A résolu


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

2 mois il y a

A résolu


Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

2 mois il y a

A résolu


remove numbers from a string
check the given string for any numbers.in case one is found,remove it.but the two portions should be separated. if more than one...

2 mois il y a

A résolu


Pentagonal dodecahedron
<<https://upload.wikimedia.org/wikipedia/commons/7/73/Dodecahedron.gif>> Pentagonal dodecahedron is a dodecahedron that is ...

2 mois il y a

A résolu


Code Wheel
Create a function that offsets each value in a given string by a given amount. For instance, codewheel('hello',1) s...

2 mois il y a

A résolu


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

2 mois il y a

A résolu


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

2 mois il y a

A résolu


Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

2 mois il y a

A résolu


Convert degrees to radians
Given input in degrees, output to radians

2 mois il y a

A résolu


Indirect Sorting
Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

2 mois il y a

A résolu


Your favourite city!
Type your favourite city.

2 mois il y a

A résolu


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

2 mois il y a

A résolu


Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.

2 mois il y a

A résolu


select the primes of a vector
Find the prime numbers in a vector

2 mois il y a

A résolu


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

2 mois il y a

A résolu


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

2 mois il y a

A résolu


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

2 mois il y a

A résolu


Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

2 mois il y a

A résolu


Linear Motion 3
Suppose a robot is moving in a straight line and steadily increases its speed. It moves from v1 ft/s to v1+2 ft/s in the first ...

2 mois il y a

A résolu


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

2 mois il y a

A résolu


Vectorize the digits of an Integer
Create a vector of length N for an integer of N digits. x = 123045; x_vec = [1 2 3 0 4 5]; I happened upon a trick ...

2 mois il y a

A résolu


Linear Motion 4
A robot accelerates at a rate of A ft/s2. Assuming the robot starts from rest how much time is required to reach an object loca...

2 mois il y a

A résolu


Transpose of matrix
Transpose of matrix as per test cases

2 mois il y a

A résolu


Linear Motion 5
A robot moving down an incline for 3 seconds undergoes a uniform acceleration of a ft/s2. If the robot has an initial velocity o...

2 mois il y a

A résolu


Back to basics 25 - Valid variable names
Covering some basic topics I haven't seen elsewhere on Cody. Given a string, return true if it is a valid MATLAB variable nam...

2 mois il y a

A résolu


Negative Infinity
Round the given array a towards negative infinity.

2 mois il y a

A résolu


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

2 mois il y a

A résolu


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

2 mois il y a

A résolu


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

2 mois il y a

Charger plus