Community Profile

# Mehedi hasan shuvo

256 total contributions since 2016

View details...

Contributions in
View by

Question

How to construct 2D homogram of ultra-sound image
I need to find 2D homogram of ultra-sound image.

environ un an ago | 0 answers | 0

### 0

Solved

Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

environ un an ago

Solved

Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

environ un an ago

Question

I am facing problem to implement a summation equation in MATLAB

environ un an ago | 1 answer | 0

### 1

Solved

Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

plus d'un an ago

Solved

If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

plus d'un an ago

Solved

De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

plus d'un an ago

Solved

Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

plus d'un an ago

Solved

03 - Matrix Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3c.png>> A 10x10 matrix where the numbers from 1 to 100 ...

plus d'un an ago

Solved

Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

plus d'un an ago

Solved

Given a 4x4 matrix, swap the two middle columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

plus d'un an ago

Solved

Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

plus d'un an ago

Solved

Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

plus d'un an ago

Solved

Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

plus d'un an ago

Solved

Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

plus d'un an ago

Solved

Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

plus d'un an ago

Solved

Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10]. Find whether the number n is present in given array or not. If the number n is prese...

plus d'un an ago

Solved

Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

plus d'un an ago

Solved

Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

plus d'un an ago

Solved

Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

plus d'un an ago

Solved

Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

plus d'un an ago

Solved

Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

plus d'un an ago

Solved

Take two incoming vectors and output the sum of the two vectors

plus d'un an ago

Solved

Calculate the CIRCUMFERENCE of circle.
Given the radius is 2, the circumference will be 12.5663.

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

plus d'un an ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

plus d'un an ago

Solved

reverse string
input='rama' output='amar'

plus d'un an ago

Solved

Sum the Digits of a Number
Given an integer, sum the digits repeatedly until you end up with a single value less than 10. For example, if you add the di...

plus d'un an ago

Solved

Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

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