Community Profile

photo

Muhtasim Haque Nahian


Last seen: 2일 전

BUET

206 2021 이후 총 참여 횟수

Undergrad Sophomore in the Dept. of Water Resources Engineering

Muhtasim Haque Nahian's 배지

  • Thankful Level 1
  • First Answer
  • Revival Level 1
  • Community Group Solver
  • Commenter
  • Promoter
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

27일 전

해결됨


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

27일 전

해결됨


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

27일 전

해결됨


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

27일 전

해결됨


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

27일 전

해결됨


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

약 1달 전

해결됨


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

약 1달 전

해결됨


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

약 1달 전

해결됨


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.

약 1달 전

해결됨


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

약 1달 전

해결됨


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

약 1달 전

해결됨


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

약 1달 전

해결됨


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

약 1달 전

해결됨


Determine the square root
Determine the square root of the value the user has entered, n.

약 1달 전

해결됨


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

약 1달 전

해결됨


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.

약 1달 전

해결됨


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

약 1달 전

해결됨


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

약 1달 전

해결됨


Find remainder when x is divided by 3
Find remainder when x is divided by 3

약 1달 전

해결됨


first element of matrix
find the first elements of a column matrix

약 1달 전

해결됨


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

약 1달 전

해결됨


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

약 1달 전

해결됨


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

약 1달 전

해결됨


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

약 1달 전

답변 있음
Why Do I keep getting NaNs in my code???
NaN stands for Not a Number. If your variable/matrix/input does not have the specific number/range that should meet the argument...

약 1달 전 | 0

답변 있음
MATLAB Cody locked solutions to a solved problem
Yes, you cannot view the solutions which are shorter than your solution in size. You can only view the solutions which are of s...

약 1달 전 | 0

질문


My problems are vanished
I created some problems last night and created a group too. All those are now missing. Also my ranking progress, activites, bad...

약 1달 전 | 답변 수: 1 | 0

1

답변

해결됨


Array of Ones
Create a 100 X 100 array of ones.

약 1달 전

해결됨


Min of a Matrix
Return the minimum value in the given matrix.

약 1달 전

Load more