# Muruganandham Subramanian

### KPIT Cummins Infosystems

Professional Interests: Model based design

**Statistics**

RANK**512**

of 258,123

REPUTATION**122**

CONTRIBUTIONS

**15** Questions

**106** Answers

ANSWER ACCEPTANCE **
20.0%
**

VOTES RECEIVED**20**

RANK

of 17,786

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

Question

Validation error, when configuring enable subsystem as autosar component?

Hi, when using the enable system's, states when enabling of enable port, if we set as "reset", the following error is popping o...

7 years ago | 0 answers | 0

### 0

answerscovert matlab program to simulink block

Try using *'s-function'* block (Level-1).

8 years ago | 1

Undefined symbols for architecture x86_64 error. Mex S-Function

Try using dgesv(matrix_size, brnhs, a, matrix_size, ipvt, b, matrix_size, info); Because, when you are passing as an poin...

8 years ago | 1

[UNSOLVED, but ignored] Simulink model with red border and outlinks

Patrick, There are many sources of error/ warning in your model, am just listing something 1. the error may be due to *inp...

8 years ago | 1

m files cannot run

Use a string instead of numbers for naming *.m file (e.g. abc.m instead of 1.m). then try it

8 years ago | 1

Error during Code Generation

Hi, You may missed an anyone or both of the important activity for code generation, 1) select the mex compiler proper>> mex ...

8 years ago | 0

| accepted

how to get rid of imaginary numbers, after a root.

time = roots([-g./2, v0y, y0-H]); time = max(time); time=real(time); at=atand((h0*cos(V))/((h0*sin(V))-(g*tid)))

8 years ago | 0

| accepted

while running the following code i got an error as Subscript indices must either be real positive integers or logicals.

Refer this link: <http://www.mathworks.in/support/solutions/en/data/1-FA99VQ/index.html?solution=1-FA99VQ>

9 years ago | 0

How do I select different value of resistances depending on the control input.

Use *MultiportSwitch* To know more, Refer this link: <http://www.mathworks.in/help/simulink/slref/multiportswitch.html>

9 years ago | 0

how to compare two cell array

Refer this: <http://www.mathworks.in/matlabcentral/answers/1052> <http://www.mathworks.in/matlabcentral/newsreader/view_thr...

9 years ago | 1

marking points in a plot

>> help plot Refer this links as well: <http://www.mathworks.in/matlabcentral/newsreader/view_thread/248714> <http:/...

9 years ago | 0

How to match an input value with values stored in array or a file

A=[1, 3, 4, 1.5; 2, 4, 5, 1.6; 3, 5, 7, 2.2] A_size=size(A); inp_1=input(' '); inp_2=input(' '); ...

9 years ago | 0

SIMULINK BUG, or Am I missing something in DATA STORE MEMORY block?

How you are reading the value for DSR B (data store read)?? from workspace?? Is DSR B depends on DSR A output?, If it depends, c...

9 years ago | 0

Syntax Error: Unknown Function

Refer this link: <http://www.mathworks.in/support/solutions/en/data/1-FA99UB/index.html?solution=1-FA99UB>

9 years ago | 0

create a test environment with the size 10x10x10cm

>> B = zeros(10,10,10); %Try this

9 years ago | 0

how to plot only one iteration in for loop?

what is x?..see while plotting the size of _xlabel_ and _ylabel_ should be same.. In ur code x might be ...

9 years ago | 0

How to read matrix into a variable increment?

e.g, >> A=[1;2;3;4;5;6]; >> t = 0 : A(1,1) : A(end,1) Are you expecting like this??

9 years ago | 0

Issue with fixed point code generation

Hi, In fixedpoint operation, you might used scaling either *binary point or slope and bias*, So the value which you given as ...

9 years ago | 0

uitable: Changing the Coloumn Name

>> help uitable or Check this link: <http://www.mathworks.in/help/matlab/ref/uitable.html>

9 years ago | 0

How to color an area at plot surface...

hi, for e,g. x=[1 2 3 4 5]; for i=1:numel(x) f(i)=x(i)^2; g(i)=-x(i)^2+1; end plot(x,f,x,g) ...

9 years ago | 0

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

9 years ago

How to set flags in MATLAB?

Do this, by *if()* operation e.g. if a==0 %do this else if a==1 %do this end

9 years ago | 0

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

9 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

9 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9 years ago

Change the sign of a particular element in a matrix

find(A==-1)=1 [EDITED, Jan, copied from comments] Better: A(A==-1)=1; or A=abs(A)

9 years ago | 1

| accepted

How should I run a simulation in simulink so that the simulation matches the real time clock?

Check this link: <http://www.mathworks.in/matlabcentral/answers/17148>

9 years ago | 0

| accepted

How to link a plot or continous data from M-file to Simulink Model

Have you tried with *From workspace* block? To know more, refer this link: <http://www.mathworks.com.au/help/simulink/slref/...

9 years ago | 1

| accepted