A résolu


DC-DC boost converter
Find the output voltage of a DC-DC boost converter when its input voltage is 12V and the duty cycle ratio is 0.6.

plus de 9 ans il y a

A résolu


Modified Upper Matrix Mock
Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 3 6 9 11; 0 0 6 9 11; 0 0 0 9 11; 0 0 0...

plus de 9 ans il y a

A résolu


Circular Shift Me
Given a vector v=[1 3 6 9 11], circular shift them while iterating m=[1 3 6 9 11; 11 1 3 6 9; 9 11 1 3 6; 6 9 11 1 3; 3 6 9 1...

plus de 9 ans il y a

A résolu


Derive Me Crazy
Given a polynomial, output its derivative. Example: input = [1 0 0] % x^2 output = [2 0] % 2x

plus de 9 ans il y a

A résolu


Integrate Me
Given polynomial, output the integral (with k = 1 for simplicity purposes) Example: input = [2 1] % 2x+1 output = [1 1 1]...

plus de 9 ans il y a

A résolu


Conduct inner product using given matrix
a=[1 2 3]; b=[3 4 5]; y=function(a,b) Output y should be 26

plus de 9 ans il y a

A résolu


Create Truth Table of Size according to input
Create a Truth Table Example: n = 3 output = [0 0 0; 0 0 1; 0 1 0; 0 1 1; 1 0 0; 1 0 1; 1 1 0; 1 1 1]

plus de 9 ans il y a

A résolu


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

plus de 9 ans il y a

A résolu


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

plus de 9 ans il y a

A résolu


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

plus de 9 ans il y a

Réponse apportée
How to use arrayfun with a function having two vector arguments?
A = arrayfun(FUN, B, C, ...) evaluates FUN using elements of arrays B, C, ... as input arguments. The (I,J,...)th el...

plus de 9 ans il y a | 0

Réponse apportée
I would to save the variables in a file txt or csv with a push button, can help me someone?
save ('filename.csv','mentaldemand','physicaldemand','temporaldemand','performance','effort','frustration') Try the above ...

plus de 9 ans il y a | 0

A résolu


Create square matrix with given conditions.
Create square matrix which should be like given matrix M. M = [ n^2 n*(n-1) n*(n-2) ... n*2 n; n*(n-1)...

plus de 9 ans il y a

A résolu


Weighted Convolution
Given two input vectors x = [x_1, x_2, ..., x_K] and y = [y_1, y_2, ..., y_K] of equal length, compute the weighted convolution ...

plus de 9 ans il y a

A résolu


I told you not separate me, but you did :( - ACDC
Given input vector, output it's DC and AC value Example: input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0

plus de 9 ans il y a

A résolu


Finding two missing number in 1 to n array
You are given an array of numbers from 1 to n with two missing numbers. Return the two missing numbers. Input: x=[5 2 0 1 ...

plus de 9 ans il y a

A résolu


Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

plus de 9 ans il y a

A résolu


extract part elements of matrix into one new matrix
Given a matrix, includes different elements(plus, minus and zero), extract the nonzero elements and form a new matrix. for examp...

plus de 9 ans il y a

A résolu


Calculate cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

plus de 9 ans il y a

A résolu


Calculate sin(x) without sin(x)
Calculate y = sin(x) x = 0 -> y= 0 without the use of sin(x) or cos(x)

plus de 9 ans il y a

A résolu


i forgot to use capital I
When referring to yourself you should write "I" (capital) and not "i". So correct the input string x, but be aware that other u...

plus de 9 ans il y a

A résolu


Avengers Assemble!
Given matrix with so many zeroes, trim those zeroes and output a matrix joining all nnz elements Example: input = [0 0 0 0 0...

plus de 9 ans il y a

A résolu


Determinate if day D is a date that occurs during Daylight Saving Time in Italy
<https://en.wikipedia.org/wiki/Summer_Time_in_Europe>

plus de 9 ans il y a

A résolu


How many hours are there in a day in Italy?
Remember "European Summer Time"

plus de 9 ans il y a

A résolu


x&u are two vectors then Y=x+u???
x&u are two vectors then Y=x+u???

plus de 9 ans il y a

A résolu


Сoncatenate two strings into one
Concatenate two strings, become one strings Example: s1 = 'Hello' s2 = 'world' result = "Hello world "

plus de 9 ans il y a

A résolu


Calculate cross product
Make function for cross product a=[1 3 2]; b=[2 4 1]; y=function(a,b) y=[-5 3 -2]

plus de 9 ans il y a

A résolu


Make random permutation
Make random permutation that consist of random number from 1 to n.

plus de 9 ans il y a

A résolu


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

plus de 9 ans il y a

A résolu


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

plus de 9 ans il y a

Charger plus