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.

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år ago

Question

I am facing problem to implement a summation equation in MATLAB

mer än 2 år 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...

nästan 3 år 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...

nästan 3 år 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 =...

nästan 3 år 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...

nästan 3 år 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 ...

nästan 3 år 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 = ...

nästan 3 år 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...

ungefär 3 år ago

Solved

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

ungefär 3 år ago

Solved

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

ungefär 3 år ago

Solved

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

ungefär 3 år ago

Solved

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

ungefär 3 år 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.

ungefär 3 år 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...

ungefär 3 år 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.

ungefär 3 år 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).

ungefär 3 år 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)

ungefär 3 år ago

Solved

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

ungefär 3 år ago

Solved

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

ungefär 3 år ago

Solved

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

ungefär 3 år ago

Solved

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

ungefär 3 år 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....

ungefär 3 år ago

Solved

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

ungefär 3 år ago

Solved

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

ungefär 3 år 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...

ungefär 3 år 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...

ungefär 3 år ago

Solved

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

ungefär 3 år ago