Answered
How to use mouse wheel to zoom in/out while running "impixel" function simultaneously?
Hello M.B, I understand you are facing issues with the ‘impixel’ function as it is not enabling zoom after the function call, a...

2 years ago | 0

Answered
debug functions called using coder.ceval
Hello Rodrigo, Kindly find attached a documentation link that provides the workflow for debugging generated code. You can debug...

2 years ago | 0

Answered
How do I acquire the states of 20 detections simultaneously using matlab function?
Hello Marshall, I would suggest using the debugging workflow for ‘MATLAB function block’ to clearly observe the input structur...

2 years ago | 0

Answered
Problem with drawpolygon in GUI
Hello Christoffer, In order to modify the ROI polygon once you create it using “drawpolygon” function in MATLAB R2022a, you can...

2 years ago | 0

Answered
FMU file Import Simulink (incorrect output values)
Hello Malte, I understand that Simulink is providing a different output when using an FMU block. This could be an issue caused ...

2 years ago | 0

Answered
How to find the weight of PC_1 in my measurements, after doing PCA?
Hello Mark, I understand you have a few doubts related to PCA. To answer your queries: The "explained"/ "explained_noMean" var...

2 years ago | 0

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

2 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

2 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

3 years ago

Solved


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

3 years ago

Solved


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

3 years ago

Answered
I want to delete the ROW data from excel by reading Column in the same sheet
Hi Santosh, My understanding is that you will be importing the table, editing it and then writing it back to the excel sheet. ...

3 years ago | 0

Answered
How do i delete the spaces that are in the middle of a string array?
Hi Sameer, My understanding is that you would like to remove any and all multiple spaces from your string to single space and t...

3 years ago | 0

Solved


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

3 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

3 years ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

3 years ago

Solved


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

3 years ago

Solved


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

3 years ago

Answered
finding the maximum within a specific range
Hi Salma, My understanding is that for rows having GDALT in range 200-400 you would like to find the row where NE8 is maximum. ...

3 years ago | 0

| accepted

Answered
How so subset observations in a matrix?
Hi Prerna, My understanding is that you want to filter out the rows of a matrix for those GVKEYs having observations from 2005-...

3 years ago | 0

| accepted

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

3 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

3 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

3 years ago

Solved


Compute Fibonacci Number
Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

3 years ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

3 years ago

Solved


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

3 years ago

Solved


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

3 years ago

Solved


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

3 years ago

Load more