photo

Michal Dobai


Active since 2017

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • Cody5 Easy Master
  • Commenter
  • Knowledgeable Level 2
  • First Answer
  • Promoter
  • Solver

View badges

Feeds

View by

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

7 years ago

Answered
I want to take difference of column A (first column in sheet_1) and column B (also first column in sheet_2). Output should be file C in workspace.
So you have excel file containing two sheets. And you want to: * subtract numbers in column A in |sheet_2| from numbers in co...

7 years ago | 0

| accepted

Solved


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

7 years ago

Solved


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

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

7 years ago

Solved


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

7 years ago

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

7 years ago

Solved


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

7 years ago

Solved


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

7 years ago

Solved


Extract leading non-zero digit
<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

7 years ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

7 years ago

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

7 years ago

Solved


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

7 years ago

Answered
Edit Field labels and edit field numeric loop
This might be one way to do it: First, you have to create new properties to hold handles of newly created controls: Typ...

7 years ago | 2

Answered
How to two Y axies plot in app designer?
You can try this: plot(app.UIAxes,[1 2 3 4],[3 5 2 6],'-r'); hold(app.UIAxes); plot(app.UIAxes,[1 2 3 4],[4 6 3 7]...

7 years ago | 0

Answered
What does 'imfuse' exactly do and how does it differ from 'imadd'?
*|<https://www.mathworks.com/help/images/ref/imfuse.html imfuse>|* can combine input images in several different ways. You can s...

7 years ago | 0

| accepted

Solved


Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

7 years ago

Solved


The Glass Half Full
Identical glasses are placed in a triangular tower structure, such that the top level (L = 1) comprises one glass, the next leve...

7 years ago

Solved


Van Eck's Sequence's nth member
Return the Van Eck's Sequence's nth member. For detailed info : <http://oeis.org/A181391 OEIS link> and <https://www.theguard...

7 years ago

Solved


Write c^3 as sum of two squares a^2+b^2
write c^3 as sum of two squares a^2+b^2. a and b must be integer and greater than zero. For example 5^3 = 2^2 + 11^2 5...

7 years ago

Solved


I Plead the Fifth
Write a function to provide a yes or no answer to the input string. However, it must plead the 5th amendment (return an empty st...

7 years ago

Solved


Spot the First Occurrence of 5
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

7 years ago

Solved


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

7 years ago

Solved


Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

7 years ago

Solved


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

7 years ago

Solved


Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

7 years ago

Answered
Import from Excel and exclude fully blank rows
Just change this: I = any(cellfun(@(x)... to this: I = all(cellfun(@(x)... Why? Let' have a closer look at your ...

7 years ago | 0

| accepted

Answered
How to merge two images of different sizes ??
You can just index elements in bigger image and assign them values of smaller image. combinedImage = biggerImage; s = si...

7 years ago | 3

| accepted

Answered
How to plot a surface-like plot when the data is not regularly spaced
How about this? [xi,yi] = meshgrid(0:0.01:10, 0:0.01:10); zi = griddata(demodata(:,1),demodata(:,2),demodata(:,3),xi...

7 years ago | 1

| accepted

Answered
Vectors Must be the Same Length
It's a lot more clear to me now. Or at least I hope so |:)| _(reference to <https://www.mathworks.com/matlabcentral/answers/3721...

7 years ago | 2

| accepted

Load more