Gelöst


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

fast 12 Jahre vor

Gelöst


Area of a circle
Find the value for area of the circle if diameter is given

fast 12 Jahre vor

Gelöst


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

fast 12 Jahre vor

Gelöst


Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

fast 12 Jahre vor

Gelöst


Replace odd number in given matrix by zero
Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

fast 12 Jahre vor

Gelöst


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

fast 12 Jahre vor

Gelöst


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

fast 12 Jahre vor

Gelöst


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

fast 12 Jahre vor

Gelöst


Generate vector according to sign of vector
Generate vector according to sign of vector Example: If A=[-2 0 5] then output must be[-1 0 1] meaning that for negative n...

fast 12 Jahre vor

Gelöst


Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

fast 12 Jahre vor

Gelöst


Add one raw in given matrix as shown in example
*Add one raw in given matrix as shown in example* A=[1 0;0 1]; X=[3 5]; Answer must be:[1 0; 0 1;3 5]

fast 12 Jahre vor

Gelöst


Find out of matrix transpose Complex conjugate
Find out of matrix transpose Complex conjugate A=[2 3+i;1 4+i] Then answer must be [2.0000 1.0000; ...

fast 12 Jahre vor

Gelöst


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

fast 12 Jahre vor

Gelöst


Add two different item as shown in example
Add two different item as shown in example x=5; y='ab'; Then output must be'5ab';

fast 12 Jahre vor

Gelöst


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

fast 12 Jahre vor

Gelöst


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

fast 12 Jahre vor

Gelöst


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

fast 12 Jahre vor

Gelöst


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

fast 12 Jahre vor

Gelöst


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

fast 12 Jahre vor

Gelöst


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

fast 12 Jahre vor

Gelöst


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

fast 12 Jahre vor

Gelöst


Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

fast 12 Jahre vor

Gelöst


Complex number
For complex number c=a+bi, write code that will add a and b together.

fast 12 Jahre vor

Gelöst


Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5

fast 12 Jahre vor

Gelöst


Rounding
Round 10.67 and make 'y' equal to that number.

fast 12 Jahre vor

Gelöst


length of a vector
Find twice the length of a given vector.

fast 12 Jahre vor

Gelöst


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

fast 12 Jahre vor

Gelöst


Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

fast 12 Jahre vor

Mehr laden