Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


Find the Hypotenuse
Find the Hypotenuse of the triangle.

mehr als 10 Jahre vor

Gelöst


Adding numbers
Add two numbers together

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


Spherical Volume
Calculate the volume of a sphere.

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


Multiplying Vectors
Find a way to multiply two vectors.

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Mehr laden