# Sreeram Mohan

### Tata Consultancy Services

Working currently as Assistant Consultant.

Professional Interests: signal processing, embedded systems

**Statistics**

RANK**1,167**

of 277,856

REPUTATION**50**

CONTRIBUTIONS

**0** Questions

**46** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**10**

RANK**2,268** of 18,799

REPUTATION**733**

AVERAGE RATING**3.00**

CONTRIBUTIONS**2** Files

DOWNLOADS **4**

ALL TIME DOWNLOADS**7332**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How to create a user defined simulink model ?

Hi Anto Ronson , I suggest looking at some video tutorials for simulink would give you a better understanding of what is pos...

8 years ago | 0

How do I create an interactive connected graph in MATLAB GUI

Hi Jigar, Have you tried looking at properties of the button i.e. set or get properties and may be there is one related to t...

8 years ago | 0

set_param on block inside library

Hi Aaron, Please take a look at this link http://in.mathworks.com/help/simulink/ug/working-with-library-links.html If y...

8 years ago | 0

set_param on block inside library

Hi Aaron, It purely depends on what is the final intention. For example : Case 1: If you make some changes to the link (th...

8 years ago | 0

How do I read an image from a different folder into my .m file using Matlab in Ubuntu?

Hi Deepa, First off could you please first reduce the problem to a simple one so that we can see what is the real issue ? ...

8 years ago | 0

Digital Clock in Simulink

would counter limited blocks with the counter limits as an option ? --sreeram mohan

8 years ago | 0

Using Data to determine input parameters

Hi Joshua, Looks like in this case both System identification as well as neural networks toolboxes could be of viable approac...

8 years ago | 0

| accepted

Concatenate 2 doubles in Serial output for Arduino

Hi Abhishek, Just some high level thoughts by just looking at the build logs ! Before this could you please check if the ...

8 years ago | 0

How do I read an image from a different folder into my .m file using Matlab in Ubuntu?

Hi Deepa, Did you try adding the folder that your image exists into path and try out ? You could programatically add the ...

8 years ago | 0

Solved

Multiply a column by a row

* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

8 years ago

Solved

Number of Horns on a unicorn!

Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

8 years ago

Solved

Back to basics 1 - Saving

Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

8 years ago

Solved

Back to basics 22 - Rotate a matrix

Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

8 years ago

Solved

Right and wrong

Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

8 years ago

Solved

Back to basics 6 - Column Vector

Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

8 years ago

Solved

Back to basics 3 - Temp Directory

Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

8 years ago

Solved

Matlab Basics II - Max & Index of Max

Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

8 years ago

Solved

Matlab Basics II - Determine if an array has a 3rd dimension

For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

8 years ago

Solved

Sum the numbers on the main diagonal

Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

8 years ago

Solved

surface of a spherical planet

you just discovered its circumference, that is the input.

8 years ago

Solved

Back to basics 15 - classes

Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

8 years ago

Solved

Renaming a field in a structure array

MATLAB has a <http://www.mathworks.com/help/techdoc/ref/setfield.html setfield> and a <http://www.mathworks.com/help/techdoc/ref...

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

8 years ago

Solved

Count photos

Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

8 years ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

8 years ago

Solved

Back to basics 4 - Search Path

Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...

8 years ago

Solved

Make a 1 hot vector

Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

8 years ago

Solved

Who is the smartest MATLAB programmer?

Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

8 years ago