답변 있음
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...

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

답변 있음
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....

7년 초과 전 | 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...

7년 초과 전

답변 있음
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 ...

7년 초과 전 | 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...

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

답변 있음
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...

7년 초과 전 | 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...

7년 초과 전

답변 있음
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...

7년 초과 전 | 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

| 수락됨

더 보기