Community Profile

photo

Highphi


FAMU FSU College of Engineering

Last seen: 8 mois il y a Actif depuis 2020

B.S. in Mechanical Engineering. Masters in Industrial and Manufacturing Engineering

Statistiques

All
  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • Revival Level 1
  • Knowledgeable Level 2
  • Leader
  • Strings I Master
  • Introduction to MATLAB Master
  • MATLAB Central Treasure Hunt Finisher
  • Speed Demon
  • Creator
  • Cody Problems in Japanese Master
  • Computer Games I Master

Afficher les badges

Content Feed

Afficher par

A résolu


the average value of the elements
Calculate the average value of the elements in the array

plus d'un an il y a

A résolu


to the 2 all elements
to the 2 all elements

plus d'un an il y a

A résolu


Array of Ones
Create a 100 X 100 array of ones.

plus d'un an il y a

A résolu


length of a vector
Find twice the length of a given vector.

plus d'un an il y a

A résolu


Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

plus d'un an il y a

A résolu


First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero i...

plus d'un an il y a

A résolu


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

plus d'un an il y a

A résolu


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

plus d'un an il y a

A résolu


Matlab Basics II - Extract last 3 elements of a vector
Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

plus d'un an il y a

A résolu


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

plus d'un an il y a

A résolu


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

plus d'un an il y a

A résolu


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

plus d'un an il y a

A résolu


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

plus d'un an il y a

A résolu


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

plus d'un an il y a

A résolu


Back to basics 19 - character types
Covering some basic topics I haven't seen elsewhere on Cody. Return the number of punctuation characters in the input variabl...

plus d'un an il y a

A résolu


Check to see if a Sudoku Puzzle is Solved
*Description:* Your task, should you choose to accept it, is to make a function that checks to see if a 9x9 matrix of integer...

plus d'un an il y a

A résolu


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

plus d'un an il y a

A résolu


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

plus d'un an il y a

A résolu


Sum the elements in either diagonal of a square matrix
Sum the elements of a square matrix that lie on either the major diagonal or anti-diagonal. (Include all elements that are part ...

plus d'un an il y a

A résolu


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

plus d'un an il y a

A résolu


Caracteres Unicos
Dada uma string, verifique se a string é composta de caracteres únicos, ou seja, nenhuma letra se repete. Retorne true ou false;...

plus d'un an il y a

A résolu


Convert a given Character to its decimal equivalent value
Convert a given character to its decimal equivalent value according to the ascii table. if x = '!'; y = 33; if x = 'u'; ...

plus d'un an il y a

A résolu


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

plus d'un an il y a

A résolu


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Sum of first n positive integers
Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55

plus d'un an il y a

A résolu


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

plus d'un an 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.

plus d'un an il y a

A résolu


Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

plus d'un an il y a

A résolu


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

plus d'un an il y a

Charger plus