Respondida
How to tune a PID Controller for a plant with two integrators?
Hi Aneesh Rao, PID controller tuning is a field many people worked on already. Have a look here for references: * <https:/...

más de 7 años hace | 0

Respondida
Levenberg Marquardt Curve Fitting Algorithm
Hi Jonathan Trueblood, Levenberg-Marquardt-Algorithm is built-in into <https://de.mathworks.com/help/optim/ug/lsqcurvefit.htm...

más de 7 años hace | 0

Respondida
Take row from a vector based on the value of another vector
Hi Jerry, Matlab documentation is your friend: <https://de.mathworks.com/help/matlab/math/matrix-indexing.html> C = A...

más de 7 años hace | 0

Respondida
please help with multiplication and division function
Hi Emmanuel Akpan, The question you raised is not clear. Taking into consideration the given equation you can find easily by ...

más de 7 años hace | 0

Respondida
How to insert a line over a heatmap using code?
Hi Samantha Clayton: Since I do not know your code I can only demonstrate in the following example how to draw a vertical and...

más de 7 años hace | 1

Respondida
Split array in subarrays According to condition
Hi SmaShBr0ther: The requested functionality is obtained by logical indexing * <https://blogs.mathworks.com/steve/2008/01/...

más de 7 años hace | 0

Resuelto


Calculate the Levenshtein distance between two strings
This problem description is lifted from <http://en.wikipedia.org/wiki/Levenshtein_distance>. The Levenshtein distance betwee...

más de 7 años hace

Resuelto


Connect Four Win Checker
<http://en.wikipedia.org/wiki/Connect_Four Connect Four> is a game where you try to get four pieces in a row. For this problem, ...

más de 7 años hace

Resuelto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

más de 7 años hace

Resuelto


Given two strings, find the maximum overlap
Given two strings s1 and s2, create a new string s3 which is as short as possible and contains both strings. If s1 = [1 2...

más de 7 años hace

Respondida
How do I curve fit a specific non-linear function which passes through 2 fixed points?
Hello Anantha Narayanan Suresh Babu: The question has been raised already. You can find the question and answers here: <ht...

más de 7 años hace | 2

| aceptada

Respondida
Trying to calculate variance in cells nested within a 1x9 cell
Hello Jonathan Marchetto: I generated data that should fit your description: X = {}; for ik = 1:9 X{ik} = num2cel...

más de 7 años hace | 0

Resuelto


Longest Divisor Run
Given the vector a, find the longest run of consecutive numbers that can be evenly divided by the same number d where d > 1. ...

más de 7 años hace

Resuelto


Knight's Tour Checker
Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

más de 7 años hace

Resuelto


What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

más de 7 años hace

Resuelto


Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

más de 7 años hace

Respondida
Use packages to group the methods of the class
Hi Andrea Stevanato, according to Matlab documentation there is no packaging of methods introduced: <https://de.mathworks....

más de 7 años hace | 0

| aceptada

Resuelto


DNA N-Gram Distribution
Given a string s and a number n, find the most frequently occurring n-gram in the string, where the n-grams can begin at any poi...

más de 7 años hace

Respondida
How to assign ascii type characters to a signal using a foor loop
Hi Marcos Rios, as I understand you would like to change the x tick positions and labels. There is a fine example documented ...

más de 7 años hace | 0

Resuelto


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

más de 7 años hace

Resuelto


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 <http://www.ma...

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


Remove the small words from a list of words.
Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

más de 7 años hace

Resuelto


Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

más de 7 años hace

Resuelto


That's some divisor you've got there...
Given a positive integer x, calculate the sum of all of the divisors of the number. Please include the number itself in your fi...

más de 7 años hace

Resuelto


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

más de 7 años hace

Respondida
Updating of uicontrol edit
*Copied from* <https://de.mathworks.com/matlabcentral/answers/400758-how-do-i-use-the-edit-text-box-in-a-gui-to-define-variab...

más de 7 años hace | 0

Resuelto


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

más de 7 años hace

Respondida
How do I use the Edit Text box in a GUI to define variables and structure fields in another function?
Hi Hector De La Torre, here a solution I gave for a different question which passes handles to (possibly external) callback f...

más de 7 años hace | 0

Respondida
How do I add colour to the faces of a patched shape
Hello Jacob Cialou-Clark: as you specify a 3D faced object you have to take care which vertices you connect to faces. Right n...

casi 8 años hace | 0

| aceptada

Cargar más