Risolto


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

oltre 3 anni fa

Risolto


Replace odd number in given matrix by zero
Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

oltre 3 anni fa

Risolto


Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

oltre 3 anni fa

Risolto


Find out phase angle of second order system.
Find out the phase angle of a second order system. In a control system, the phase angle is given by the inverse of cos.

oltre 3 anni fa

Risolto


Add two hex numbers
Add two hex numbers

oltre 3 anni fa

Risolto


find out eigenvector of matrix
find out eigenvector of matrix A =eye(3); Answer is [0 0 1; 0 1 0; 1 0 0];

oltre 3 anni fa

Risolto


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

oltre 3 anni fa

Risolto


Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

oltre 3 anni fa

Risolto


Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

oltre 3 anni fa

Risolto


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

oltre 3 anni fa

Risolto


Given a 4x4 matrix, swap the two middle columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

oltre 3 anni fa

Risolto


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

oltre 3 anni fa

Risolto


Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

oltre 3 anni fa

Risolto


CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

oltre 3 anni fa

Risolto


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

oltre 3 anni fa

Risolto


Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.

oltre 3 anni fa

Risolto


Calculate the volume of the football

oltre 3 anni fa

Risolto


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

oltre 3 anni fa

Risolto


Reduce the logic
We have three logical input, x,y and z. The output is: y = ((x&y)|z)&((z|x&y)|(z&y|x))|((x&z)|z)&((y|x&z)|(z&x|y))|(x|y|z) ...

oltre 3 anni fa

Risolto


Chicken Race
2 chickens, Pete and Fred, compete in a 100 meter race. Pete runs at a velocity of vp meter/second and Fred is slower, running ...

oltre 3 anni fa

Risolto


time difference
The arrays x and y contain time values in the form of: x = [hours minutes seconds] Create the output z which contains the...

oltre 3 anni fa

Risolto


Check capital letters
Check if each first letter of a string is a capital letter. for example: 'This Is Ok' gives a true answer and 'This Is not Ok' ...

oltre 3 anni fa

Risolto


Binary Inversion
Given the unsigned 8-bit integer x, return the number y which is the binary inversion of x. For example if x is 5, y should b...

oltre 3 anni fa

Risolto


Add the odd numbers
Add only the odd numbers of x example: x = [1 2 3 4 5] the positive numbers are: 1 3 5, so their sum is 9

oltre 3 anni fa

Risolto


Magnitude of a vector
Given a vector x, what is its magnitude?

oltre 3 anni fa

Risolto


Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

oltre 3 anni fa

Risolto


Counting votes
x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?

oltre 3 anni fa

Risolto


Remove multiples of N
in the vector x remove all multiples of N. x = [1 2 3 4 5 6]; N = 2; Then y = [1 3 5];

oltre 3 anni fa

Risolto


All odd - all even
All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

oltre 3 anni fa

Risolto


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

oltre 3 anni fa

Carica altro