Community Profile

photo

Nafees Ul Haque Akhand


Bangladesh University of Engineering and Technology (BUET)

Last seen: 1일 전 2021 이후 활성

Under Grad. Student of Water Resources Engineering.

Statistics

All
  • First Answer
  • Thankful Level 1
  • Cody Problems in Japanese Master
  • Speed Demon
  • Creator
  • Scholar
  • CUP Challenge Master
  • Draw Letters
  • Introduction to MATLAB Master
  • Commenter
  • Promoter
  • Community Group Solver

배지보기

Content Feed

보기 기준

해결됨


Zero Cross
Write a function that counts the number of times n a signal x changes sign. Examples x = [1 2 -3 -4 5 6 -7 8 -9 10 11] ...

5일 전

해결됨


Combined Ages 2 - Symmetric, n ≥ 3
Following on <http://www.mathworks.com/matlabcentral/cody/problems/42382-combined-ages-1-symmetric-n-3 Combined Ages 2>, you wil...

7일 전

해결됨


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

7일 전

해결됨


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

8일 전

해결됨


Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

8일 전

해결됨


How to Concatenate two strings?
How to Concatenate two strings?

8일 전

해결됨


Find and replaces spaces from a input string with *
For a given input string str, find how many spaces are there in the string and replace those spaces with * e.g. str = 'this is ...

8일 전

해결됨


Namespace
Create a set of n variable names 'a_1',...,'a_n' The result should be a column oriented cell array of strings. Example inp...

8일 전

해결됨


Wrap-around effect
In vector x of length n we define (n+1) position as going back to the first position (so called wrap-around effect). Can you ret...

8일 전

해결됨


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

10일 전

해결됨


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

10일 전

해결됨


Odd times 3
Given a input matrix x, multiply all odd values by 3. Even values remain the same. example: x = [1 2 3 4 5;... 6 7...

10일 전

해결됨


String revert
Revert all words in a sting x for example, if x = 'this is a sentence' then y should be 'sentence a is this'

10일 전

해결됨


Odd times even numbers in a matrix
First count the number of odd numbers in x, then the number of even. Return their product. example: x = [1 2] One odd ...

10일 전

해결됨


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

10일 전

해결됨


Bubble sort
Write your own bubble sort function ( <https://en.wikipedia.org/wiki/Bubble_sort>) to sort all elements in x in ascending order....

10일 전

해결됨


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];

10일 전

해결됨


i forgot to use capital I
When referring to yourself you should write "I" (capital) and not "i". So correct the input string x, but be aware that other u...

10일 전

해결됨


Count the numbers
In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

10일 전

해결됨


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

10일 전

해결됨


X plus binary inverted x
Given a n-bits number x, what is the sum of x to the binary inverted version of x? (this might be more simple than you think :-)...

10일 전

해결됨


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

10일 전

해결됨


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

10일 전

해결됨


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

10일 전

해결됨


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?

10일 전

해결됨


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

10일 전

해결됨


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

10일 전

해결됨


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

10일 전

해결됨


Reverse digits of a number
Reverse digits of a number. For example, return *321* for the input *123* . The left-hand zeros can be discarded. For exam...

10일 전

해결됨


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

10일 전

더로드