# Esen Ozbay

Communications engineer. Aspiring clean code writer.

**Statistics**

RANK**1 864**

of 272 989

REPUTATION**26**

CONTRIBUTIONS

**2** Questions

**13** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**5**

RANK

of 18 440

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Biggest sum of series in Matlab

For this question, I think you should use a for loop and check each number one by one. If you use 'n' in your expression, the re...

4 månader ago | 0

Solved

It dseon't mettar waht oedrr the lrettes in a wrod are.

An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

9 månader ago

Knnsearch: How to output disntace?

If you write [Idx, dist] =knnsearch (nodes,nodes,'K',2); you will obtain the distances mentioned in the documentation.

mer än ett år ago | 1

| accepted

Unexpected, unexplained, difference between Matrix linear index and row and column subscripts

You have forgotten to write 1: in the first line. for i=size(P,1)*size(P,2) must be for i = 1:size(P,1)*size(P,2) You proba...

mer än ett år ago | 1

Solved

Find relatively common elements in matrix rows

You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

mer än ett år ago

How to Cell indexing

If you want, you can access X1 as X1=11; X2=22; u{1}=[X1,X2]; u{1}(1) % this will yield ans = 11; The above notation me...

mer än ett år ago | 0

| accepted

Solved

Finding Perfect Squares

Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

mer än ett år ago

sim command not opening Simulink model but workspace shows output variable ans ?!

Is it possible that you have created a variable or another function with the same name? Try the command which sim to see what ...

mer än ett år ago | 1

Solved

Kaprekar Steps

6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

mer än ett år ago

Solved

Encode Roman Numerals

Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

mer än ett år ago

Solved

Return the 3n+1 sequence for n

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

mer än ett år ago

Solved

Alphabetize by last name

Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

mer än ett år ago

Solved

Remove the polynomials that have positive real elements of their roots.

The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the roots of the p...

mer än ett år ago

How to plot multiple lines with gray color

Replace plot(p) with: plot(XAxis, p, 'Color', [0.5 0.5 0.5]) You can write any number between 0 and 1 instead of 0.5, as long...

mer än ett år ago | 1

what does Validation Patience mean in training Option?

Validation patience is the number of epochs that the algorithm tries to improve the performance before giving up (if the error i...

mer än ett år ago | 1

Solved

Prime factor digits

Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

mer än ett år ago

How to reference or filter range of data in table using information from another table?

DesiredData = cpit(startIdx:endIdx, 2); maxData = max(DesiredData); Hope this works! :)

mer än ett år ago | 0

Solved

Find the two-word state names

Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

mer än ett år ago

Solved

Find state names that start with the letter N

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

mer än ett år ago

Solved

Find common elements in matrix rows

Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

mer än ett år ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

mer än ett år ago

How to reference or filter range of data in table using information from another table?

Here is my attempt: for episodeIdx = 1:size(inflationepisodes,1) epStart = inflationepisodes(episodeIdx, 1); epEnd ...

mer än ett år ago | 0

| accepted

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mer än ett år ago

Solved

Mandelbrot Numbers

The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

mer än ett år ago

Solved

Make roundn function

Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

mer än ett år ago

Solved

Rounding off numbers to n decimals

Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

mer än ett år ago

Solved

Matlab Basics - Rounding III

Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

mer än ett år ago

Solved

Matlab Basics - Rounding II

Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

mer än ett år ago

Solved

Check that number is whole number

Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

mer än ett år ago

Solved

MATLAB Basic: rounding IV

Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

mer än ett år ago