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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Mehr laden