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

oltre 6 anni fa | 0

Risposto
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);...

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

Risolto


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

oltre 6 anni fa

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

| accettato

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

oltre 6 anni fa | 1

| accettato

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

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

oltre 6 anni fa | 0

| accettato

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Carica altro