Risolto


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]

quasi 10 anni fa

Risolto


How many bottles
Sometimes if you buy a drink in a glass bottle you can return that bottle and get some money back. Let's assume we have "x" amo...

quasi 10 anni fa

Risolto


This is just like your weight :)
Imagine your weight as a sawtooth wave appended with a slope It varies yet the trend is increasing :) Decode the values throug...

quasi 10 anni fa

Risolto


calculate the day of the year from a date string.
'09-Oct-2016' is the 283rd day of the year. So doy = dayoftheyear('09-Oct-2016') should return doy = 283

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


Print true if (2)
There are 0. a=[1 2 3 4 0]; b=[1 1 1 1 1]; function(a) is true, and function(b) is false.

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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]

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


Calculate determinent
Calculate determinent of given matrix A=[2 4;3 5]; function(A) Output should be -2

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


Remainder Calculator Without Using built-in mod(x)
Given x, and divisor. Compute for the remainder without using mod() function

quasi 10 anni fa

Risolto


Calculate the dynamic time warping similarity
Dynamic time warping (DTW) is an algorithm for measuring the similarity between two time series that may have been acquired at d...

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


Addition Partition
You will be given two numbers, N and K. Write a MATLAB function that will determine how many different unique ways you can have...

quasi 10 anni fa

Risolto


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.

quasi 10 anni fa

Risolto


Create the Vector [1 2 3 4 5]
Create the Vector [1 2 3 4 5] through any means

quasi 10 anni fa

Risolto


Solve the system of linear equations
4x - 2y +6z=8 2x + 8y +2z=4 6x + 10y +3z=0 Find x,y,z. Output should be a=[x;y;z].

quasi 10 anni fa

Risolto


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


Solve expression III
Solve expression for given vector x. Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))...

quasi 10 anni fa

Risolto


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

quasi 10 anni fa

Risolto


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

quasi 10 anni fa

Risolto


Count given word x in text.
Count how many times given word x repeats in text.

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


Bae Slap Counter LOL XD
How many times did your bae had slapped you? Create a formula counts how many times you are slapped

quasi 10 anni fa

Risolto


Multiply all elements of vector but not me
me = 1 Just a freebie Good luck :)

quasi 10 anni fa

Carica altro