Community Profile

photo

Yogesh Khurana


MathWorks

73 total contributions since 2019

I am an Application Support Engineer in EDG MathWorks. My responsibilities include working with customers to help them solving their problems, developing MATLAB features.

DISCLAIMER: Any advice or opinions here are my own and in no way reflect that of MathWorks.

Yogesh Khurana's Badges

  • Knowledgeable Level 2
  • First Answer
  • Promoter
  • Solver

View details...

Contributions in
View by

Answered
Tracking instantiation when running an OOP program
Hi, You can refer to the following links for learning material for OOPS concepts in MATLAB: https://www.mathworks.com/help/p...

3 days ago | 1

Answered
How to apply Matlab CNN code to analyze the image?
Hi, I am assuming that you want to create a new model for classifying the regions in attached image or similar to that. I would...

4 days ago | 0

Answered
Extracting the performance indexes / information from regression learner and neural fitting tool
I think it is not possible to change the performance statistics outputs of the apps: Getting MSE in percentage for Regression ...

21 days ago | 0

Answered
Area detection and measurement
There are different ways by which you can detect edges which will help in this situation. You can convert the image to GrayScale...

21 days ago | 0

Answered
Is it possible for a 3D varaible to be used in a optimization problem
Yes, you can pass variable dimension variable in optimvar. Example: % Create a 2-by-3-by-4-by-2 array of optimization v...

21 days ago | 0

Answered
Synchronise two videos for comparison using images matching
I think you need to convert the video to sequence of frames for using them against some algorithm. You can use an app for batch ...

23 days ago | 0

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

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

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

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

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

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

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

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

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

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

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

1 month ago | 0

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

1 month ago | 0

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

1 month 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months ago

Load more