已回答
I need to find the pixel count for the max intensity value of an image ie i want to know the exact value on the x axis of the histogram generated with imhist for a known y value is there a code to do this?
Hi Ellen This link should be able to guide you in the right direction: <https://www.mathworks.com/matlabcentral/answers/13...

6 years 前 | 0

已回答
How can this code be modernized?
Hi Francisco Here is an example of how you can modify the code to incorporate 'insertText': %rgbFrame = step(vidDevice);...

6 years 前 | 0

已回答
How to compare elements in an array?
Hi Alec You can use the 'find' function to obtain the values which are common between two arrays. For example: a=[1 2 3 ...

6 years 前 | 0

已回答
How to subplot a graph returned by MATLAB function for which there is no option to take the figure handle as input nor can it return a handle as output?
Hi Hari Check out this link: <https://www.mathworks.com/matlabcentral/answers/30684-wscalogram-and-subplots> Here, cwt is ...

6 years 前 | 0

已回答
Classify binary images with multiple features
Hi Edward The Deep Learning toolbox can help in classifying images with a good accuracy. Check out this link: <https://www....

6 years 前 | 0

已解决


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

6 years 前

已回答
How can i convert this simple program from Matlab into visual basic
Hi Musa What you can do is to make a DLL (mex) file from your MATLAB script and call that in VB. Another approach is to c...

6 years 前 | 0

已回答
Fit background of an image
Hi Angela One thing that you could try is to use 'imadjust' to improve the visibility of the image after top-hat filtering. ...

6 years 前 | 0

| 已接受

已回答
Need Help Plotting Mode Shapes
Hi Amanda I am assuming that you wish to plot the variation of y against x for the values from 0 to 5 in steps of 0.5 as per ...

6 years 前 | 1

| 已接受

已解决


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

6 years 前

已解决


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more <http://www.snopes.com/language/apocryph/cambridge.asp here>) asserted that readers are re...

6 years 前

提问


Why am I getting negative zero as an eigen value while using the 'eig' function?
Hi all I ran the following code which makes use of the 'eig' function and I encountered a negative zero in the value printed ...

6 years 前 | 1 个回答 | 0

1

个回答

已解决


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

6 years 前

已解决


Maximum running product for a string of numbers
Given a string s representing a list of numbers, find the five consecutive numbers that multiply to form the largest number. Spe...

6 years 前

已解决


Calculate the Hamming distance between two strings
Inspired by a similar Cody problem found <http://www.mathworks.com/matlabcentral/cody/problems/93-calculate-the-levenshtein-dist...

6 years 前

已解决


Reverse the Words (not letters) of a String
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

6 years 前

已解决


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

6 years 前

已解决


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

6 years 前

已解决


ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける(コンマはオプション)。 x = [1, 2, 3, 4] 問題:次のベクトルを出力する関数を作成せよ。...

6 years 前

已解决


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

6 years 前

已解决


Add more zeros
Find code that adds one 0 to each sequence of 0 in a string (composed with only 0 or 1). For example: '1010' -> '100100' ...

6 years 前

已解决


Space Saver
Remove all characters that are below a space in ASCII value.

6 years 前

已解决


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

6 years 前

已解决


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

6 years 前

已解决


Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

6 years 前

已解决


Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

6 years 前

已回答
Standardize data when using Regression Learner App, but when predict...?
Hi Quan Since you have trained the model on the standardized data, the model would give an accurate prediction only when the ...

6 years 前 | 0

| 已接受

已解决


Renaming a field in a structure array
MATLAB has a <http://www.mathworks.com/help/techdoc/ref/setfield.html setfield> and a <http://www.mathworks.com/help/techdoc/ref...

6 years 前

已解决


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

6 years 前

已解决


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

6 years 前

加载更多