Solved

iteration of N blank spot

we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- bl...

11 Monate ago

Solved

Determine given vector is even or odd

Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

11 Monate ago

Solved

Phoneword Translator

Given an alphanumeric telephone number (Ex. 1-800-COLLECT), return the purely numeric phone number as a vector. This problem use...

11 Monate ago

Solved

How many solutions has this problem?

Guess, predict or calculate :-) (You will be scored by the accuracy). Update: <http://www.mathworks.co.uk/matlabcent...

11 Monate ago

Solved

Calculate value of capacitor

Given the value of resistance and time at which capacitor charges to it's 99%. calculate the value of capacitor

11 Monate ago

Solved

Calculate the peak value of square wave

Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.

12 Monate ago

Solved

Solve t^(a*x^2+b*x+c)=s

Solve t^(a*x^2+b*x+c)=s. Return x vector as result. Example a=1, b=2, c=1, t=3, s=15. Result x(1)= 0.5700 x(2)=-2.5700 H...

12 Monate ago

Solved

Find the next square number

Given one or more integers n, find the next integer that is a square, for each of them. Example 1: n = 1; out = 4; ...

12 Monate ago

Solved

Determine if given number is perfect

A number is <http://en.wikipedia.org/wiki/Perfect_number perfect> if it is equal to the sum of its factors, excluding itself. ...

12 Monate ago

Solved

Separate even from odd numbers in a vector - without loops

*Without using loops*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the...

12 Monate ago

Solved

Is it column vector?

Is it column vector? Check vector for column vector without using iscolumn function.

12 Monate ago

Solved

Periodic Table II 101.

Given the symbol of an element, return its atomic number. This is the continuation of <http://www.mathworks.com/matlabcentral/co...

12 Monate ago

Solved

Add the odd numbers

Add only the odd numbers of x example: x = [1 2 3 4 5] the positive numbers are: 1 3 5, so their sum is 9

12 Monate ago

Solved

"Power matrix" of two vectors

Given two row vectors x,y of lengths m and n (respectively), create an m x n matrix whose i,j entry is x(i)^y(j).

etwa ein Jahr ago

Solved

Determine point is located in a circle or not

Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle,...

etwa ein Jahr ago

Solved

Periodic Table 101.

Given the atomic number (z), answer the symbol for that particular element of the <http://en.wikipedia.org/wiki/Periodic_table/ ...

etwa ein Jahr ago

Solved

Create an m x n array consisting only of an input value.

Create an array with m rows and n columns wherein all entries are assigned the input value x.

etwa ein Jahr ago

Solved

Find out output of following expression

Find out output of following expression Q=2log10 x+cos π+√(5yz)+|x^2-y^2 |

etwa ein Jahr ago

Solved

Oh Zero Zero Zero!!!

Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

etwa ein Jahr ago

Solved

Sum Rows

Sum the same indexed (unique) rows. Examine the test suite. Related Challenge - <http://www.mathworks.com/matlabcentral/cody/...

etwa ein Jahr ago

Solved

Solve The Equation

The coefficients of a system of equations are given in two vectors, x1 and x2. Write a function to solve the equation and return...

etwa ein Jahr ago

Solved

Component area

Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

etwa ein Jahr ago

Solved

Find the Area of a Polygon

Consider 2-D geometry and assume that the points are given in form of rows of a matrix. Find the area of polygon enclosed by the...

etwa ein Jahr ago

Solved

Area of a Square

Given the length x of the side of a regular square, find the area of the square, A.

etwa ein Jahr ago

Solved

Volume and area of a sphere

Input(r) - radius Output([v,s]) - volume and area

etwa ein Jahr ago

Solved

Tax Calculator

Calculate the tax for a given income. 10% tax is paid for any income up to $2,000. 20% tax is paid for additional income u...

etwa ein Jahr ago

Solved

Average of square wave

given positive and negative peak , calculate dc level, 50% duty cycle

etwa ein Jahr ago