Community Profile

# Soobok

### GIST

Last seen: 16 Tage ago Active since 2016

#### Content Feed

View by

Solved

Summy's even sum

9 Monate ago

Solved

Summy's odd sum

9 Monate ago

Solved

How many figures currently exist?
Return the number of figures that exist at any given time.

10 Monate ago

Solved

Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

10 Monate ago

Solved

Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

10 Monate ago

Solved

Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

10 Monate ago

Solved

Multiply 2 numbers
Very easy, you just have to multiply 2 numbers but you cannot use the following signs (*, /, - ,^) ,mtimes , times, cross, pro...

10 Monate ago

Solved

Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

10 Monate ago

Solved

Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

10 Monate ago

Solved

Find max
Find the maximum value of a given vector or matrix.

10 Monate ago

Solved

Equal to their cube
Tell me three real numbers that are equal to their cubes?

10 Monate ago

Solved

MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

10 Monate ago

Solved

find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

10 Monate ago

Solved

Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

10 Monate ago

Solved

How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

10 Monate ago

Solved

Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

10 Monate ago

Solved

Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

10 Monate ago

Solved

So many choices
For inputs _n_ and _k_ (in that order), output the number of ways that k objects can be chosen from amongst n distinct objects. ...

10 Monate ago

Solved

Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

10 Monate ago

Solved

Find Logic 9

10 Monate ago

Solved

Find Logic 13

10 Monate ago

Solved

Saving MATLAB session to a file
How to save MATLAB session to a file?

10 Monate ago

Solved

Pass the Threshold!!
Write a Matlab function that will take as input a matrix of arbitrary dimensions and a scalar threshold value, and return a vec...

10 Monate ago

Solved

Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

10 Monate ago

Solved

Count consecutive 0's in between values of 1
So you have some vector that contains 1's and 0's, and the goal is to return a vector that gives the number of 0's between each ...

10 Monate ago

Solved

Xor of matrix
you have to set exclusive OR of two arrays

10 Monate ago

Solved

Rank of matrix
Find the rank of given matrix

10 Monate ago

Solved

string comparision
compare two strings if both are same return 1 else return 0

10 Monate ago

Solved

Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

10 Monate ago

Solved

Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

10 Monate ago