Resuelto


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.

alrededor de 10 años hace

Resuelto


Find the elements of a matrix according to a defined property.
From A = [5,2,3] and B = [1,2,3,4,5,6,7,8,9,10] produce a vector C where : C(1) is the sum of the first A(1) elements of B, ...

alrededor de 10 años hace

Resuelto


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

alrededor de 10 años hace

Resuelto


Calculate the nth Fibonacci number USING 'Golden Ratio' concept
f = [1 1 2 3 5 8 13 ...] If n=6, f(6)=8

alrededor de 10 años hace

Resuelto


Matlab Basics II - Log and natural log
Write a function that calculates the difference between the log and natural log of a vector, to two decimal places example: ...

alrededor de 10 años hace

Resuelto


UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

alrededor de 10 años hace

Resuelto


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

alrededor de 10 años hace

Resuelto


Box!
Given a box, find the volume of the cube. With each side = a.

alrededor de 10 años hace

Resuelto


Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

alrededor de 10 años hace

Resuelto


Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...

alrededor de 10 años hace

Resuelto


Solving a quadratic equation
Given a, b ​​and c, Return the solution of the following quadratic equation: a*x^2 + b*x + c = 0.

alrededor de 10 años hace

Resuelto


Weave two vectors into one
Weave the two given vectors into one as shown below. Example: If a = [1 1 1] b = [0 0 0] then y = [1 0 1 0 ...

alrededor de 10 años hace

Resuelto


Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

alrededor de 10 años hace

Resuelto


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

alrededor de 10 años hace

Respondida
How to generate same set of random numbers?
You can control random number generation using 'rng()' function. The usage is rng(seed). _rng(seed) seeds the random number g...

alrededor de 10 años hace | 1

| aceptada

Respondida
Is 1900 a leap year?
No, 1900 is not a leap year. Condition for an year to be Leap year us that it should be divisible by 4. But if it is century lik...

alrededor de 10 años hace | 2

| aceptada

Resuelto


Nth root
Nth root of a number x

alrededor de 10 años hace

Problema


Nth root
Nth root of a number x

alrededor de 10 años hace | 2 | 139 solvers

Resuelto


Find 10's complement
Find 10's complement of a given number. An example is <http://electrical4u.com/9s-complement-and-10s-complement/ shown here>.

alrededor de 10 años hace

Resuelto


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

alrededor de 10 años hace

Resuelto


Find out Harmonic mean.
Find out Harmonic mean.

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

alrededor de 10 años hace

Resuelto


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

alrededor de 10 años hace

Resuelto


Return area of square
Side of square=input=a Area=output=b

alrededor de 10 años hace

Resuelto


Back to basics 15 - Benchmark
Covering some basic topics I haven't seen elsewhere on Cody. Return an array of the benchmark values for MATLAB.

alrededor de 10 años hace

Resuelto


03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

alrededor de 10 años hace

Resuelto


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

alrededor de 10 años hace

Problema


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

alrededor de 10 años hace | 6 | 114 solvers

Resuelto


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

alrededor de 10 años hace

Respondida
Static variables in MATLAB
Use keyword persistent to declare static variables persistent x; for more information: read here: <https://in.mathworks....

alrededor de 10 años hace | 6

| aceptada

Cargar más