Community Profile

# Kashfia Rahman Oyshei

##### Last seen: 15 días ago
90 total contributions since 2021

View details...

Contributions in
View by

Solved

Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

alrededor de 1 mes ago

Solved

Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

alrededor de 1 mes ago

Solved

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

alrededor de 1 mes ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

alrededor de 2 meses ago

Solved

ベクトル [1 2 3 4 5 6 7 8 9 10]　の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける（コンマはオプション）。 x = [1, 2, 3, 4] 問題：次のベクトルを出力する関数を作成せよ。...

alrededor de 2 meses ago

Solved

2倍してみよう - ここからスタート！

alrededor de 2 meses ago

Solved

Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

alrededor de 2 meses ago

Solved

Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

alrededor de 2 meses ago

Solved

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

alrededor de 2 meses ago

Solved

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

alrededor de 2 meses ago

Solved

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

alrededor de 2 meses ago

Solved

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

alrededor de 2 meses ago

Solved

Return area of square
Side of square=input=a Area=output=b

alrededor de 2 meses ago

Solved

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

alrededor de 2 meses ago

Solved

Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

alrededor de 2 meses ago

Solved

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

alrededor de 2 meses ago

Solved

Converts numbers into characters
Converts numbers into characters

alrededor de 2 meses ago

Solved

Find the max element of the array
Find the max element of the array

alrededor de 2 meses ago

Solved

Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

alrededor de 2 meses ago

Solved

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

alrededor de 2 meses ago

Solved

to the 2 all elements
to the 2 all elements

alrededor de 2 meses ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

alrededor de 2 meses ago

Solved

Double all elements in the array
Duplicate all elements in the array

alrededor de 2 meses ago

Solved

calculate the length of matrix
input 1 array, calculate the length

alrededor de 2 meses ago

Solved

Draw a '0' in a one matrix!

alrededor de 2 meses ago

Solved

Draw a '4' in a zero matrix!

alrededor de 2 meses ago

Solved

Draw a '6' in a zero matrix!

alrededor de 2 meses ago

Solved

Draw a '9' in a zero matrix!

alrededor de 2 meses ago

Solved

Draw a '7' in a zero matrix!

alrededor de 2 meses ago

Solved

Draw a '8' in a zero matrix!

alrededor de 2 meses ago