Resuelto


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

casi 10 años hace

Resuelto


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.

casi 10 años hace

Resuelto


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

casi 10 años hace

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

casi 10 años hace | 0

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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?

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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 :)

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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)

casi 10 años hace

Resuelto


How many Optimus
Get the number of primes given a vector

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Cargar más