Answered
How to measure the similarity of two time frequency diagrams
xcorr can be used to find cross-correlation of two discrete time sequences. I think you can use that in funding similarities bet...

5 years ago | 0

Answered
How to calculate the mean of different time frequency
meanfreq can be used to calculate mean of frequencies. It can take frequency or spectral densities as input arguments in the for...

5 years ago | 0

Answered
Built .dll based s-function
Yes, it’s possible to call a S-function using library files. You can define the .dll files in header file to call them. You can ...

5 years ago | 0

Answered
How to plot the centroids of kmeans in an image?
kmeans returns a numeric matrix containing Centroid location. Once you have locations you can plot these locations using plot fu...

5 years ago | 0

Answered
How to design this filter?
You can design custom filters in MATLAB. You can refer to the following link for more information: https://www.mathworks.com/d...

5 years ago | 0

Answered
Optimization problem - solving problem within a loop
You can use Optimization Expressions for defining objective functions and its variables inside a for-loop. Refer to the followin...

5 years ago | 0

Answered
How can I graph match same object in both the images?
bwlabeln is used to label the components within an image. There are several kinds of features that you can try to extract and ma...

5 years ago | 0

Answered
How can I project my data onto a map?
To get the data onto the map you can use uistack. uistack is used to reorder visual stacking of UI components. Using this functi...

5 years ago | 0

Answered
Is it possible to include a .dll-file without a .h-file?
A similar question is already being answered. Refer to the following link for more information: https://www.mathworks.com/matl...

5 years ago | 0

| accepted

Answered
Failure to untar() a *.tar.gz file
untar() only accepts character vector or scalar string as data-types for the filename. Please check the data-type of filename yo...

5 years ago | 0

Answered
How to display colorbar label with App Designer
Hi, You can try editing axes font size to a value less than the default value that is 12. If you change the axes font size, th...

5 years ago | 1

| accepted

Answered
A Question About the exe file generated by Matlab Compiler
Hi, Yes, you can use it even after expiration of MATLAB. MATLAB compiler builds standalone application (exe file) from the ...

5 years ago | 1

| accepted

Answered
How can i convert a mechanical rotational domain output signal from rad/s to rpm in simulink?
Hi, You can use Ideal Motion Sensor Block with PS-Simulink Converter. In PS-Simulink converter there is a parameter Output sig...

5 years ago | 0

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

5 years ago

Solved


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

5 years ago

Solved


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

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

5 years ago

Solved


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

5 years ago

Solved


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

5 years ago

Solved


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

5 years ago

Solved


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

5 years ago

Solved


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

5 years ago

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

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

5 years ago

Solved


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

5 years ago

Solved


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

5 years ago

Solved


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

5 years ago

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

5 years ago

Solved


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

5 years ago

Solved


Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

5 years ago

Load more