回答済み
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:/...

7年以上 前 | 0

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

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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 ...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 1

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

7年以上 前 | 0

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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.

7年以上 前

解決済み


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

7年以上 前

回答済み
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...

7年以上 前 | 2

| 採用済み

回答済み
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...

7年以上 前 | 0

解決済み


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

7年以上 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

回答済み
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....

8年弱 前 | 0

| 採用済み

解決済み


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

8年弱 前

回答済み
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 ...

8年弱 前 | 0

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

回答済み
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...

8年弱 前 | 0

解決済み


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

8年弱 前

回答済み
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...

8年弱 前 | 0

回答済み
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...

8年弱 前 | 0

| 採用済み

さらに読み込む