Resuelto


A little bit of luck needed
This one may require a little bit of guess work, but it is possible. Hints: - The same solution might fail the tests once and ...

casi 10 años hace

Resuelto


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

casi 10 años hace

Resuelto


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

casi 10 años hace

Resuelto


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

casi 10 años hace

Resuelto


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

casi 10 años hace

Resuelto


Calculate some equation
Using given inputs x and z, make two outputs that are y1=(xz)/(x/z)^2+14x^2-0.8z^2 y2=x^z-z^x+(x/z)^2-(z/x)^2

casi 10 años hace

Resuelto


Omit columns averages from a matrix
Omit columns averages from a matrix. For example: A = 16 2 3 13 5 11 10 8 9 7 ...

casi 10 años hace

Resuelto


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

casi 10 años hace

Resuelto


All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

casi 10 años hace

Resuelto


Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

casi 10 años hace

Resuelto


Calculate temperature of object
An object that have initial temperature T0 is in a room that has temperature Ts. The object's temperature in time t is T=Ts+(...

casi 10 años hace

Resuelto


tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

casi 10 años hace

Resuelto


Calculate 3D Distance
Given 2 vectors (1st is initial position, 2nd is the destination) calculate the distance in 3D Example in1 = [0 0 0] in2...

casi 10 años hace

Resuelto


Refresh your system of equations
Given square matrix, and solution vector, find the values of the variables Example: xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2...

casi 10 años hace

Resuelto


Calculate circle's property
[A R]=function(r) r is radius, A is area of circles, R is circumference.

casi 10 años hace

Resuelto


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area.

casi 10 años hace

Resuelto


Calculate inverse matrix in square matrix
A=eye(3) Calculate inverse matrix of given input. B=function(A) ans = 1 0 0 0 1 0 ...

casi 10 años hace

Resuelto


Calculate inverse matrix in m by n matrix
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1) a*x=y Estimate a using inverse matrix calculation. This is principle of li...

casi 10 años hace

Resuelto


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

casi 10 años hace

Resuelto


Set x value to each even index of vector y.
Set x value to each even index of vector y.

casi 10 años hace

Resuelto


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

casi 10 años hace

Resuelto


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

casi 10 años hace

Resuelto


Rutgers Homework 3 Problem 4
Please solve homework 3 problem 4.

casi 10 años hace

Resuelto


Specific toolboxes
Given a string that is the name of a MATLAB toolbox, return true if it is available on the Cody solvers evaluation system, false...

casi 10 años hace

Resuelto


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

casi 10 años hace

Resuelto


Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

casi 10 años hace

Resuelto


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

casi 10 años hace

Resuelto


Find qube root
Find the quberoot of 27

casi 10 años hace

Resuelto


Remove the small words from a list of words.
Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

casi 10 años hace

Resuelto


DNA N-Gram Distribution
Given a string s and a number n, find the most frequently occurring n-gram in the string, where the n-grams can begin at any poi...

casi 10 años hace

Cargar más