Resuelto


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

13 días hace

Resuelto


Double the length of the vector

13 días hace

Resuelto


Half the length of the vector

13 días hace

Resuelto


Convert from integer to binary
if true % decimalToBinaryVector(x) end

13 días hace

Resuelto


Sort rows of a matrix
Sort rows of matrix A in an ascending order according to the last column Example input: A = [1 2 3;7 8 9;4 5 6]; Exam...

13 días hace

Resuelto


Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

13 días hace

Resuelto


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

13 días hace

Resuelto


Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

13 días hace

Resuelto


How many hours are there in a day in Italy?
Remember "European Summer Time"

13 días hace

Resuelto


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

13 días hace

Resuelto


Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

13 días hace

Resuelto


Negative without '-'
Simple: return a negative number without using the '-' sign. Thanks to Problem <https://www.mathworks.com/matlabcentral/cody/...

13 días hace

Resuelto


Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

13 días hace

Resuelto


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

13 días hace

Resuelto


Calculate sin(x) without sin(x)
Calculate y = sin(x) x = 0 -> y= 0 without the use of sin(x) or cos(x)

13 días hace

Resuelto


Calculate cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

13 días hace

Resuelto


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

13 días hace

Resuelto


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

13 días hace

Resuelto


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

13 días hace

Resuelto


Matrix Max Finder
Output the maximum value in a matrix

13 días hace

Resuelto


true or false
if the matrix has a zero, return true. else, return false

13 días hace

Resuelto


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

13 días hace

Resuelto


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

13 días 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...

13 días hace

Resuelto


Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4]

13 días hace

Resuelto


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

13 días hace

Resuelto


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

13 días hace

Resuelto


Corresponding ASCII code.
Given the number, the output will show the corresponding ASCII code.

13 días hace

Resuelto


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

13 días hace

Resuelto


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

13 días hace

Cargar más