Community Profile

photo

Sumi Suresh


Last seen: plus de 2 ans il y a Actif depuis 2021

PhD Scholar

Statistiques

  • Speed Demon
  • Creator
  • Draw Letters
  • Commenter
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Promoter
  • Community Group Solver
  • Solver

Afficher les badges

Content Feed

Afficher par

A résolu


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

environ 3 ans il y a

A résolu


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

environ 3 ans il y a

A résolu


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

environ 3 ans il y a

A résolu


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

environ 3 ans il y a

A résolu


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

environ 3 ans il y a

A résolu


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

environ 3 ans il y a

A résolu


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

environ 3 ans il y a

A résolu


square root
Find the square root (y) of an input (x).

environ 3 ans il y a

A résolu


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

environ 3 ans il y a

A résolu


kmph to mps
convert kilometer per hour to meter per second

environ 3 ans il y a

A résolu


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

environ 3 ans il y a

A résolu


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

environ 3 ans il y a

A résolu


Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

environ 3 ans il y a

A résolu


Back to basics - mean of corner elements of a matrix
Calculate the mean of corner elements of a matrix. e.g. a=[1 2 3; 4 5 6; 7 8 9;] Mean = (1+3+7+9)/4 = 5

environ 3 ans il y a

A résolu


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

environ 3 ans il y a

A résolu


Draw Letter 'L'

environ 3 ans il y a

Problème


Draw Letter 'L'

environ 3 ans il y a | 1 | 39 solveurs

A résolu


Magic!
Check whether the input matrix is a normal magic square: <http://en.wikipedia.org/wiki/Magic_square> Output the logical va...

environ 3 ans il y a

A résolu


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

environ 3 ans il y a

A résolu


Area of a circle
Find the value for area of the circle if diameter is given

environ 3 ans il y a

A résolu


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

environ 3 ans il y a

A résolu


Min of a Matrix
Return the minimum value in the given matrix.

environ 3 ans il y a

A résolu


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

environ 3 ans il y a

A résolu


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

environ 3 ans il y a

A résolu


Negative matrix
Change the sign of all elements in given matrix.

environ 3 ans il y a

A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

environ 3 ans il y a

A résolu


"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

environ 3 ans il y a

A résolu


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

environ 3 ans il y a

A résolu


Times 3 problem
When you enter the number, it should return the number multiplied by 3

environ 3 ans il y a

A résolu


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

environ 3 ans il y a

Charger plus