Sr. Software Engineer in KPIT
Working in Automotive domain
Professional Interests: Simulink , S- Function , GUI, m-scripting, TLC , Embedded C, Automotive domain, Controls
Top 1% contributor
T_test should get values from T_min to T_max with the interval of ( or step value of ) eps/t_span
Answered 10 months ago
Matlab 2010A was launched after Visual studio 2010 , hence visual sudtio didnt had the support for Matlab 2010.
They have rele...
Answered 11 months ago
I have a c file name 'function.c'
It have code and comments as well
comments are noted with '/*' '*/' Or '//' OR sometimes '...
Asked 1 year ago
Are there any practices you follow that have a tendency to optimize and reduce the loops in your m-script ?
are there any avail...
Asked 9 months ago
I have a strings
I want to find if '$' is present in the string or not.
Can any one tell me how ...
Asked 10 months ago
I want to read an excel sheet .
1st row all variable names
2: N th row all data
I just want to read the 1st row . Is that ...
Want to read a data on port in the mask editor .
I have an script running (which is called in mask editor),depending upon the v...
Asked 11 months ago
I am working on S Functions , need to debug them.
Visual Studio 2010 is installed in my 32 bit machine.
When I try to select...
Asked 12 months ago
I want to run a script , which will update some of my parameters in the workspace.
Is it possible to call a m-script during mod...
If we assign any value to a variable , Matlab assigns its data type as double .
What is the max range of that variable ?
I am using a script to add blocks in the model ( using add_block function )
Can any one tell me how can i add a "If Action Su...
Asked 2 years ago
I am working on scripts
I have a varaible 'xyz' that will be updated in function_1 and i want to read it in function_2
There are few simulation modes :
What are the difference between ...
what is the differene between constants and parameters in stateflow ?
Why are these two different objects used , when one can...
I am working on a script , that will read the data present in an excel file.
The sheet is an standard template one .
If there is a program running in VB++ or in C-Sharp or in Java ,
Is it possible to do any kind of automation with them, using ...
I was trying to create my own library blocks for a model.
It simulated , but when i tried to make a build it throw-ed an error ...
Working on S Function of a block.
Using C to write it.
Need to call a Perl script once the simulation is over .
I know ho...
I am working on S-Function and I am still a beginner.
For a simple adder function I was able to generate S-function block and...
We are currently having lot of for loops , and they are just to fetch the data from a constant array in to a local data array
When ever i simulate a model containing state Chart in it, I generally observe mex files being generated in the current folder d...
Reverse the vector elements.
Input x = [1,2,3,4,5,6,7,8,9]
Output y = [9,8,7,6,5,4,3,2,1]
1 month ago
Given two lists of numbers, determine the weighted average.
[1 2 3] and [10 15 20]
should result in
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99.
4 months ago
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
9 months ago
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false.
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.]
Join the conversation