Solved


Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...

3 years ago

Solved


Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

3 years ago

Solved


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

3 years ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

3 years ago

Solved


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

3 years ago

Solved


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

3 years ago

Solved


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

3 years ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

3 years ago

Solved


kmph to mps
convert kilometer per hour to meter per second

3 years ago

Solved


find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

3 years ago

Solved


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

3 years ago

Solved


Find Logic 23

3 years ago

Solved


Find Logic 27

3 years ago

Solved


Find Logic 22

3 years ago

Solved


Find Logic 20

3 years ago

Solved


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

3 years ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


Find Logic 30

3 years ago

Solved


Find Logic 26

3 years ago

Solved


y equals x divided by 2
function y = x/2

3 years ago

Solved


Find Logic 28

3 years ago

Solved


Find Logic 17

3 years ago

Solved


Find Logic 18

3 years ago

Solved


Find Logic 24

3 years ago

Solved


Find Logic 14

3 years ago

Solved


Find Logic 21

3 years ago

Solved


Find Logic 16

3 years ago

Solved


Find Logic 9

3 years ago

Load more