Réponse apportée
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...

presque 8 ans il y a | 0

Réponse apportée
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);...

presque 8 ans il y a | 0

Réponse apportée
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 ...

presque 8 ans il y a | 0

Réponse apportée
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 ...

presque 8 ans il y a | 0

Réponse apportée
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....

presque 8 ans il y a | 0

A résolu


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

presque 8 ans il y a

Réponse apportée
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...

presque 8 ans il y a | 0

Réponse apportée
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. ...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
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 ...

presque 8 ans il y a | 1

| A accepté

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

Question


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

presque 8 ans il y a | 1 réponse | 0

1

réponse

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

Réponse apportée
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 ...

presque 8 ans il y a | 0

| A accepté

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

Charger plus