Solved


Getting the row and column location from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get <http://www.mathwo...

meer dan 6 jaar ago

Solved


CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

meer dan 6 jaar ago

Solved


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

meer dan 6 jaar ago

Solved


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

meer dan 6 jaar ago

Solved


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

meer dan 6 jaar ago

Solved


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

meer dan 6 jaar ago

Solved


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

meer dan 6 jaar ago

Solved


the number of inputs
Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

meer dan 6 jaar ago

Solved


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

meer dan 6 jaar ago

Solved


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

meer dan 6 jaar ago

Solved


The prisoner
"We want information, information, information." "Who are you?" Input can be a string or a number (array).

meer dan 6 jaar ago

Solved


Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

meer dan 6 jaar ago

Solved


Values in Array
How many values are in the array

meer dan 6 jaar ago

Solved


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

meer dan 6 jaar ago

Solved


Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

meer dan 6 jaar ago

Solved


Percentage of zeros in a matrix of only 1s and 0s
Write a function called _zero_stat_ that takes a matrix as an input that only has 0 and 1 elements. The function needs to comput...

meer dan 6 jaar ago

Solved


World Cup 2018 Prediction!
Which team will be the winner?

meer dan 6 jaar ago

Problem


World Cup 2018 Prediction!
Which team will be the winner?

meer dan 6 jaar ago | 0 | 97 solvers

Solved


Complex transpose
Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

meer dan 6 jaar ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

meer dan 6 jaar ago

Solved


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

meer dan 6 jaar ago

Solved


imaginary results
Return the value of the imaginary number i to the power of input argument n.

meer dan 6 jaar ago

Solved


Powers Of
Fill the vector with powers of 2, so that vector(1) is 2^1, vector(2) is 2^2, etc. Stop with vector(10). Complete the function ...

meer dan 6 jaar ago

Solved


Matlab Basics II - Find the roots of a function
Write a function that finds where a curve crosses zero (the x-axis) to two decimal places Example: <<http://s14.postimg.o...

meer dan 6 jaar ago

Solved


Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

meer dan 6 jaar ago

Problem


Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

meer dan 6 jaar ago | 8 | 958 solvers

Solved


Find number of days
The input is two date in string format (dd-mm-yyyy) find out the number of days between these two dates. Example: input: ...

meer dan 6 jaar ago

Solved


Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

meer dan 6 jaar ago

Problem


Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

meer dan 6 jaar ago | 16 | 915 solvers

Solved


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

meer dan 6 jaar ago

Load more