# Vignesh Murugavel

### MathWorks

I am an Associate in Engineering Development Group at MathWorks.

**Programming Languages:**

Python, C++, C, Java, MATLAB, SQL, HTML, CSS

**Spoken Languages:**

English

**Professional Interests:**

**Statistics**

RANK**1,531**

of 272,974

REPUTATION**32**

CONTRIBUTIONS

**0** Questions

**10** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**2**

RANK

of 18,437

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solver is encountering difficulty in simulating model 'new_try_model1' at time 1.7234322815991867.

Hi Shiv, This problem likely occurs when an operation in the model causes an "Inf" or "NaN" output. These Infinite or NaN value...

3 months ago | 0

| accepted

How to save GAN Model after training?

Hi Suhail, If you want to save your trained GAN network model , you need to use save('path_to_file', 'variable'). Example: s...

3 months ago | 0

| accepted

How to programmatically control simulink block's "Send to Front"/"Send to Back" option?

In order to programmatically control Simulink block’s “Send to Front”/”Send to Back” option you should use the “ZOrder” Block Pr...

3 months ago | 0

How inport 1 is computed in the model Brayton cycle

The inport 1 gets the Value from ts_N , defined in the Workspace as a double timeseries Variable. In the Configuration Paramete...

3 months ago | 0

| accepted

Way to edit variables of the Brayton cycle sample model

When you load the Brayton Cycle Model , A Model Callback is already defined to load variables,these variables values are defined...

3 months ago | 0

| accepted

plot a (learning curve) in terms of (training and validation costs vs running epoch)

It is my understanding that you want to know how to plot the performance of your network in terms of training and validation cos...

4 months ago | 0

| accepted

How to do image segmentation of grayscale images using UNet or other deep learning networks in MATLAB?

It is possible to do image segmentation of images in MATLAB. Refer to this Link to see the various options available: Image Seg...

4 months ago | 1

| accepted

Why the "Fcn" Simulink block is no longer available since R2020a version?

The current impact is that, you will not be able to create Fcn block from library. But you will be able to use models migrated f...

4 months ago | 1

| accepted

How can I applay unsupervised images clustering

Hi, As per my understanding you wish to apply a suitable unsupervised learning algorithm to classify the images/cluster the ima...

4 months ago | 0

Workspace empty after running script

It is my understanding that your student is using MATLAB Online on a chrome browser and while running scripts, the Workspace rem...

4 months ago | 0

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

1 year ago

Solved

Which values occur exactly three times?

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

1 year ago

Solved

Remove all the words that end with "ain"

Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

1 year ago

Solved

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

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

1 year ago

Solved

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

1 year ago

Solved

Pangrams!

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

1 year ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

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

1 year 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 =...

1 year 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, ...

1 year ago

Solved

Bullseye Matrix

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

1 year ago

Solved

Return the 3n+1 sequence for n

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

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

1 year ago

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

1 year ago

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

1 year ago

Solved

Summing digits

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

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

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

1 year ago

Solved

Fibonacci sequence

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

1 year ago