Community Profile

# Levent Zaimoglu

212 total contributions since 2015

#### Levent Zaimoglu's Badges

View details...

Contributions in
View by

Solved

Potential Energy
Calculate the potential energy of a rock.

environ 4 ans ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

environ 4 ans ago

Solved

COUNT VOWEL 2
The objective of this problem is to determine the number of unique vowels used in the given string. Now count vowels in STRI...

environ 4 ans ago

Solved

Indexing the array: Moving values
Assume sampleReadings always contains three elements. * Shift the array contents one position to the left. * The rightmost ...

environ 4 ans 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].

environ 4 ans ago

Solved

Extracting data: Heart rate (pulse)
The resting heart rate for an average adult is 60 - 100 beats per minute. Assign row array heartExtracted with all values in row...

environ 4 ans ago

Solved

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

environ 4 ans ago

Solved

intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identi...

environ 4 ans ago

Solved

Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

environ 4 ans ago

Solved

y equals x divided by 2
function y = x/2

environ 4 ans ago

Solved

Compress strings (not springs)
Please remove excess space, limit one space between others, and no space before punctuation marks. * For example, 'Trendy , ...

environ 4 ans ago

Solved

Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

environ 4 ans ago

Solved

Reverse the input
Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

environ 4 ans ago

Solved

Concatenating strings
* Write a statement that assigns fullName with firstName, a space, then lastName. Ex: If firstName is Alan and lastName is Tu...

environ 4 ans ago

Solved

Convert a vector into numbers
Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'. Examples x = [ 1...

environ 4 ans ago

Solved

Concatenate strings
concatenate a variable number of input strings to produce one outputstring

environ 4 ans ago

Solved

Matlab Basics - Assigning Variables
Assign different types of data to variables: integer, double, and strings Example: A is a double, for example 2.34 B is a...

environ 4 ans ago

Solved

NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

environ 4 ans ago

Solved

Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.

environ 4 ans ago

Solved

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

environ 4 ans ago

Solved

ベクトル [1 2 3 4 5 6 7 8 9 10]　の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける（コンマはオプション）。 x = [1, 2, 3, 4] 問題：次のベクトルを出力する関数を作成せよ。...

environ 4 ans ago

Solved

Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

environ 4 ans ago

Solved

Constructing column arrays
* Construct a column array elevatorStops with values 2, 4, 5, 9, and 10

environ 4 ans ago

Solved

Find the elements of a matrix according to a defined property.
From A = [5,2,3] and B = [1,2,3,4,5,6,7,8,9,10] produce a vector C where : C(1) is the sum of the first A(1) elements of B, ...

environ 4 ans ago

Solved

Area of a circle
Find the value for area of the circle if diameter is given

environ 4 ans ago

Solved

Times 3 problem
When you enter the number, it should return the number multiplied by 3

environ 4 ans ago

Solved

Variable Assignment
Complete the ? part by assigning myExamScore with 100.

environ 4 ans ago

Solved

Linear-spaced points array
* Construct a row array plotPoints with 5 values that are spaced linearly from lowValue to highValue. Ex: If lowValue is 1 and ...

environ 4 ans ago

Solved

Variable sized row arrays
* Reverse the contents of row array mileMarkers

environ 4 ans ago

Solved

Remove NaNs and numbers adjacent to NaNs
The aim is to remove the elements before and after NaN occurrences inside a vector. For example: x = [6 10 5 8 9 NaN 23 1...

environ 4 ans ago