photo

Ajay Pherwani


KPIT

Last seen: plus d'un an il y a Actif depuis 2013

Followers: 0   Following: 0

Message

Sr. Software Engineer in KPIT Working in Automotive domain Professional Interests: Simulink , S- Function , GUI, m-scripting, TLC , Embedded C, Automotive domain, Controls

Statistiques

All
  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

presque 9 ans il y a

Question


How to change waitbar color in Matlab R2015A
I have a scripting running on Both Matlab versions ( R2013B and R2015A) h = waitbar(2/10,'Opening..') Matlab R2013B give...

environ 9 ans il y a | 1 réponse | 0

0

réponse

Question


Find compilation time of a simulink model
Is there are way find the compilation time of a model ? I have used : tic;set_param('model','SimulationCommand','update');to...

plus de 9 ans il y a | 1 réponse | 0

0

réponse

A résolu


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

plus de 9 ans il y a

A résolu


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

plus de 9 ans il y a

Réponse apportée
Adding element within vector without overwriting the existing value
expitemorder is a 8x1 cell array/vector , to update any element : - expitemorder{ _any_index_,1}='value';

plus de 9 ans il y a | 0

Réponse apportée
Passing data from Flash to MATLAB through Javascript
Try something like this: url = 'http://www.example.com/'; html = urlread(url); % Use regular expressions to rem...

plus de 9 ans il y a | 0

Réponse apportée
how to emulate "hold on" in 2014b
hold on and hold all are the same in R20104b Matlab 2014b help document suggests that they might remove hold all in future !! ...

plus de 9 ans il y a | 0

Réponse apportée
average of each 10 values of an external file and save in new file
If it is not necessary to do programming and u just want the results just use the excel marco's , should be easy !!

plus de 9 ans il y a | 0

A résolu


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Question


can we control Data Inspector from command line ?
I am using Data logger in 2013 with one of my model. After configuring the signals to log , I run a script which simulates my...

presque 10 ans il y a | 2 réponses | 0

2

réponses

A résolu


Most nonzero elements in row
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...

presque 10 ans il y a

A résolu


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

presque 10 ans il y a

A résolu


Create times-tables
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...

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

environ 10 ans il y a

Question


how to optimize for loops and while loops in m scripts ?
Are there any practices you follow that have a tendency to optimize and reduce the loops in your m-script ? are there any avail...

environ 10 ans il y a | 1 réponse | 0

1

réponse

A résolu


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

environ 10 ans il y a

A résolu


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

environ 10 ans il y a

Question


how to compare special characters in string
I have a strings string='$(0)parameter' I want to find if '$' is present in the string or not. Can any one tell me how ...

environ 10 ans il y a | 1 réponse | 0

1

réponse

Question


How to read a string data from excel sheet ? Or to read a single row having charaters
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 ...

environ 10 ans il y a | 1 réponse | 0

1

réponse

Question


how to call a matlab function from Sfunction ?
how to call a basic matlab function from Sfunction ? Also in order to concatenate a string can i use "strcat" in S function

environ 10 ans il y a | 1 réponse | 0

0

réponse

A résolu


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

environ 10 ans il y a

A résolu


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

environ 10 ans il y a

A résolu


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

environ 10 ans il y a

A résolu


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

environ 10 ans il y a

A résolu


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

environ 10 ans il y a

A résolu


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

environ 10 ans il y a

Charger plus