Community Profile

photo

Aditya


KPIT Technologies Ltd

Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

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

8 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

8 years ago

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

8 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

8 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

8 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

8 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

8 years ago

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

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

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

8 years ago

Question


Inclusion of custom ENUM file during code generation throwing error
Hi, I am trying to include following header file containing ENUM definition during my Auto-code generation typedef enum { ...

10 years ago | 1 answer | 0

1

answer

Question


How to get rid of this error?
While compiling the following function prototype of my header file I am getting an error as "extraneous old-style parameter list...

10 years ago | 0 answers | 0

0

answers

Answered
Division in stateflow is showing only integer part
But still the question remains that why stateflow is doing floor(a/b) and giving 2 instead of 2.5. Is typecasting only solution ...

11 years ago | 0

Question


Division in stateflow is showing only integer part
I am trying to do a simple division operation in stateflow like a=5/2 but the output is coming to 2 instead of 2.5 The data type...

11 years ago | 3 answers | 0

3

answers

Question


Storage Class issues while code generation
I have two subsystem which have the same buisness logic and hence I have made them re-usable with one function name in RTW tab. ...

11 years ago | 0 answers | 0

0

answers

Question


S function debugging with Visual Studio 2005
Hi, I have developed a S function of my auto-code. When I am simulating my S function the Matlab is getting crashed. So i wan...

11 years ago | 1 answer | 0

1

answer

Question


Getting the simulation time
Hi, I am using a manual switch in my model. During simulation if i click the switch manually and switch the input i call a sc...

11 years ago | 1 answer | 0

1

answer

Question


Scaling the y axis in the matlab plots
Hi, I am plotting certain amount of data in matlab. I want to scale my y axis in the plot. For e.g: The minimum value i want...

11 years ago | 1 answer | 0

1

answer

Question


Accessing S function parameters through m scripts
Hi, I have a S function builder block in which there are number of inports and outports.I want to acces the list of these i/o...

11 years ago | 1 answer | 0

1

answer

Question


How to detect any unsupported character other than number
I have series of data in my excel file. But there are some unsupported characters present in the file like 1 0, 0h0,0.>68,1L1 e...

12 years ago | 1 answer | 0

1

answer

Question


Appending data into mat file without loading
I have a variable named A in existing mat file. No I want to add some columns of data into A.But i dont want to load that mat fi...

12 years ago | 1 answer | 0

1

answer

Question


Extracting huge data from csv file
I am working on huge csv file of around 100-200 Mb's. I am trying to extract the data using COM server and activex application. ...

12 years ago | 2 answers | 0

2

answers

Question


Scanning a CSV file
I want to read a CSV(Comma Separated Values) file in a text format and bring the entire data from CSV into Matlab environment

12 years ago | 1 answer | 0

1

answer

Question


How to install VSFLEX.vsFlexArrayCtrl.1 activex control in my Matlab R2011a
My matlab R2011a doesnt seem to have VSFLEX.vsFlexArrayCtrl.1 activex which i want for creating tables. Please suggest me as ...

12 years ago | 0 answers | 0

0

answers

Question


I am getting this warning after applying my string to a text box.'Single line Edit Controls can not have multi-line text'
This is the part of my code after which its throwing me the warning _ set(cal_glbl_data.out_msg_solver,'String',char({'Compu...

12 years ago | 2 answers | 0

2

answers