A résolu


tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

presque 10 ans il y a

A résolu


Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

presque 10 ans il y a

A résolu


Create square matrix from submatrices.
Create square matrix from 4 submatrices, where n-size of submatrices, x1,x2,x3,x4 given values, first submatrix has x1 value on ...

presque 10 ans il y a

Réponse apportée
Can't find AC or DC source on Simulink
You can't find it if you search it in simulink start page. You can open a blank simulink file, then you can open the simulink li...

presque 10 ans il y a | 0

A résolu


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

presque 10 ans il y a

A résolu


Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

presque 10 ans il y a

A résolu


Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

presque 10 ans il y a

A résolu


Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

presque 10 ans il y a

A résolu


Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

presque 10 ans il y a

A résolu


Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

presque 10 ans il y a

A résolu


Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

presque 10 ans il y a

A résolu


How to devide each element of matrix a with matrix b of same size?
How to devide each element of matrix a with matrix b of same size?

presque 10 ans il y a

A résolu


Implement zero based indexing (Vectors only)
Given an input vector and position (which is zero based) output the value Example: x = [1 2 4 5] pos = 2 value = 4

presque 10 ans il y a

A résolu


Triplicate me
Given an input vector, output a 3n vector with all elements of input vector repeated thrice Example : in->[1 2 3 5] out...

presque 10 ans il y a

A résolu


Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

presque 10 ans il y a

A résolu


Persistence will help you solve almost any problem (slightly harder version).
Create a function without inputs that adds one to the output every time it is called. One possibility of solving this has been e...

presque 10 ans il y a

A résolu


how to convert given text into all upper case letters?
how to convert given text into all upper case letters?

presque 10 ans il y a

A résolu


How to Concatenate two strings?
How to Concatenate two strings?

presque 10 ans il y a

A résolu


how to create zero square matrix with given order?
y-Zero square matrix with given input order x.

presque 10 ans il y a

A résolu


Mode of Optimus!!!
Get the mode of primes of input x When you get the output, you'll know what mode Optimus is always using :)

presque 10 ans il y a

A résolu


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 x1 = 123444...

presque 10 ans il y a

A résolu


Square of the sum of optimus
Get the square of the sum of all primes given the limit input x

presque 10 ans il y a

A résolu


Sum of the squares of optimus
Get the sum of the squares of primes given limit input x Ex. x = 10, output = 2^2 + 3^2 + 5^2 + 7^2

presque 10 ans il y a

A résolu


Check that given number is 3*n
Check that input of multiple of three (3*n). if given number is included in 3*n, print true. (hint: use mod)

presque 10 ans il y a

A résolu


How many Optimus
Get the number of primes given a vector

presque 10 ans il y a

A résolu


Persistence will help you solve almost any problem.
Create a function without inputs that adds one to the output every time it is called. a = counterfun; disp(a) >> 1 ...

presque 10 ans il y a

A résolu


Interpolate scattered data.
Most data was scattered, and there is no gird. There are three data [c] in three different area [x,y]. x=[1 3 4]; y=[1 ...

presque 10 ans il y a

A résolu


Determine Size of Matrix
Use any function that would output size of matrix

presque 10 ans il y a

A résolu


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

presque 10 ans il y a

A résolu


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

presque 10 ans il y a

Charger plus