Resuelto


provide the numerical answer to these number questions...
resturn row matrix containing the sorted numbers which answer the following questions: a) what is the first Knuth number to ...

más de 10 años hace

Resuelto


サイコロを作ろう
1から6までの独立かつランダムな数値を返すような関数を作成しましょう。 例: >> [x1,x2] = rollDice(); と入力すると x1 = 5 x2 = 2 のような解を返します。

más de 10 años hace

Resuelto


calculate interest saved because of reduction of interest rate
calculate interest saved because of a reduction of interest rate per year (Assuming No leap year) Currently, in India, rate o...

más de 10 años hace

Resuelto


Generate this matrix
For a given odd integer n, generate a matrix as follows: Input: n = 5; Output: [ 2 1 0 0 0 1 ...

más de 10 años hace

Resuelto


Handle to an array of functions
Given a cell array of functions that operate on scalars, it is required to return a function handle to process a vector of value...

más de 10 años hace

Resuelto


length of string on cylinder
A cylinder H cm high has a circumference of C cm. A string makes exactly N complete turns round the cylinder while its two ends ...

más de 10 años hace

Resuelto


Deriving a function using the difference quotient
Write a function that evaluates the derivative of a function in a given point using the well-know formula of the difference quot...

más de 10 años hace

Resuelto


Elements with highest local average
Input v is a row vector such that length(v)>3. Consider a sliding window of length 3 that is used to calculate the local average...

más de 10 años hace

Resuelto


Check if integer
Given a vector of elements, determine if each element is an integer and return true or false accordingly.

más de 10 años hace

Resuelto


Make combination of two given matrices.
Make a combination of the two given matrices as a given example. Example: input1 = [1 2 3; 4 5 6]; input2 = [7 8; 9 10...

más de 10 años hace

Resuelto


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

más de 10 años hace

Resuelto


Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...

más de 10 años hace

Resuelto


P-smooth numbers
This Challenge is to find <https://en.wikipedia.org/wiki/Smooth_number P-smooth number> partial sets given P and a max series va...

más de 10 años hace

Resuelto


Find the Hypotenuse
Find the Hypotenuse of the triangle.

más de 10 años hace

Resuelto


Adding numbers
Add two numbers together

más de 10 años hace

Resuelto


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

más de 10 años hace

Resuelto


Spherical Volume
Calculate the volume of a sphere.

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


Simple Interest Calculator
Determine the future value (F) of the funds in a savings account after (n) years, at annual interest rate (i), given an original...

más de 10 años hace

Resuelto


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

más de 10 años hace

Resuelto


Multiply by 3 and subtract 1
As a class assignment, I'm making a Cody problem. It shouldn't be terribly difficult. Given the variable x as your input, mu...

más de 10 años hace

Resuelto


Multiplying Vectors
Find a way to multiply two vectors.

más de 10 años hace

Resuelto


Volume of a cylinder
Find Volume of cylinder with the given radius and height.

más de 10 años hace

Resuelto


Fun with a compass
Each night for the past week, you have been having the same nightmare: You find yourself back in your junior high school geometr...

más de 10 años hace

Resuelto


Is It a Snake?
Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...

más de 10 años hace

Resuelto


is the number happy?
test is a given integer number is Happy of not? answer 1 if yes or 0 is no

más de 10 años hace

Resuelto


Cleaner
Write a code _cleaner_ which creates variable/object that can clear current workspace when used. Missing semicolon (";") in lin...

más de 10 años hace

Resuelto


Create a 5x4 array consisting of the input value, x.
Create a 5x4 array consisting of the input value, x.

más de 10 años hace

Resuelto


Convert to Binary Coded Decimal
Convert from decimal representation to <http://en.wikipedia.org/wiki/Binary-coded_decimal Binary Code Decimal> (or BCD) represen...

más de 10 años hace

Resuelto


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

más de 10 años hace

Cargar más