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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 1

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

mehr als 7 Jahre vor | 0

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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.

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

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

mehr als 7 Jahre vor | 2

| akzeptiert

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

mehr als 7 Jahre vor | 0

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

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

mehr als 7 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 7 Jahre vor

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

mehr als 7 Jahre vor | 0

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

fast 8 Jahre vor

Gelöst


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

fast 8 Jahre vor

Gelöst


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

fast 8 Jahre vor

Gelöst


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

fast 8 Jahre vor

Gelöst


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

fast 8 Jahre vor

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

fast 8 Jahre vor | 0

Gelöst


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

fast 8 Jahre vor

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

| akzeptiert

Mehr laden