Community Profile

# Nabil Chowdhury

Last seen: 4 mois ago Active since 2020

Computational Biologist

#### Content Feed

View by

Solved

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

11 mois ago

Solved

What percentage?
Calculate the output c as the percentage of a on b for given a and b.

plus d'un an ago

Solved

Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

plus d'un an ago

Solved

Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

plus d'un an ago

Solved

Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

plus d'un an ago

Solved

Positive Infinity
Round the array a towards positive infinity

plus d'un an ago

Solved

Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

plus d'un an ago

Solved

Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

plus d'un an ago

Solved

02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

plus d'un an ago

Solved

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

plus d'un an ago

Solved

Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

plus d'un an ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

plus d'un an ago

Solved

plus d'un an ago

Solved

Counting down
Create a vector that counts from 450 to 200 in increments of 10.

plus d'un an ago

Solved

Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

plus d'un an ago

Solved

Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

plus d'un an ago

Solved

Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

plus d'un an 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...

plus d'un an ago

Solved

Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...

plus d'un an ago

Solved

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

plus d'un an ago

Solved

Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

plus d'un an ago

Solved

Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

plus d'un an ago

Solved

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

plus d'un an ago

Solved

Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

plus d'un an ago

Solved

Solve the set of simultaneous linear equations
Given this pair of simultaneous linear equations: 2x + 3y = 23 3x + 4y = 32 Find the solution set (x,y)

plus d'un an ago

Solved

Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

plus d'un an ago

Solved

Average of odd values
Find the average of odd values in given a matrix. e.g x=[ 4 11 8 ; 9 2 7 ] y =( 11 + 9+ 7 ) / 3

plus d'un an ago

Solved

Replace Nan!
Replace Nan in the given vector(v) with 9999.

plus d'un an ago

Solved

Average of even-numbered columns
Given a vector, find the average of even-numbered columns. e.g x　=　[ 4 6 8 9 1 2 7 ] y =　( 6 + 9 + 2 ) / 3

plus d'un an ago

Solved

Probability of red tulips
I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...

plus d'un an ago