Community Profile

photo

Michal Dobai


Con actividad desde 2017

Estadísticas

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

Ver insignias

Content Feed

Ver por

Resuelto


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

más de 6 años hace

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

más de 6 años hace | 0

| aceptada

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

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

más de 6 años hace | 2

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

más de 6 años hace | 0

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

más de 6 años hace | 0

| aceptada

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 3

| aceptada

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

más de 6 años hace | 1

| aceptada

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

más de 6 años hace | 2

| aceptada

Cargar más