Resuelto


Create all combinations of vectors
This function exists in the Neural Network Toolbox but is not available in Cody. Can you write such a function? See <http://...

casi 2 años 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...

casi 2 años hace

Resuelto


Convert number from given base to other base
Convert number from given base to other base. Example 400 in base 5, find equivalent number in base 8, it is 144.

casi 2 años hace

Resuelto


Solve Linear equations
Solve Linear equations Example: x+y=2 and x+2y=3, then x and y equal to 1.

casi 2 años hace

Resuelto


Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

casi 2 años hace

Resuelto


Sort complex numbers into complex conjugate pairs
Sort complex numbers into complex conjugate pairs. Example: Input x = [3-6i -1-4i -1+4i 3+6i] Sorted output = [-1 - ...

casi 2 años hace

Resuelto


Related Vectors
I have two vectors A & B. If the values in vector A is zero then the corresponding value in vector B should be zero. Example:...

casi 2 años hace

Resuelto


Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

casi 2 años hace

Resuelto


Test if a Number is a Palindrome without using any String Operations
*Description* Given an integer _X_, determine if it is a palindrome number. That is, _X_ is equal to the _X_ with the digits ...

casi 2 años hace

Resuelto


Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...

casi 2 años hace

Resuelto


ASCii Code
Using Matlab get the ASCii for '?'

casi 2 años hace

Resuelto


Volume of Cylinder
Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

casi 2 años hace

Resuelto


Calculate the base-10 logarithm of a number
Calculate the logarithm of number x

casi 2 años hace

Resuelto


Test if a number is numeric or not
Test if a number is numeric or not

casi 2 años hace

Resuelto


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

casi 2 años hace

Resuelto


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

casi 2 años hace

Resuelto


Sales Tax

casi 2 años hace

Resuelto


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

alrededor de 2 años hace

Resuelto


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

alrededor de 2 años 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 ...

alrededor de 2 años hace

Resuelto


Log of a number
Write a script that will give the log of x as output.

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

alrededor de 2 años hace

Resuelto


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

alrededor de 2 años hace

Resuelto


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

alrededor de 2 años hace

Resuelto


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

alrededor de 2 años hace

Resuelto


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

alrededor de 2 años hace

Cargar más