# Kiran Sagar

### IIST

Professional Interests: Aeroelasticity, Control Systems, Hydraulics

**Statistics**

RANK**9.356**

of 258.307

REPUTATION**4**

CONTRIBUTIONS

**14** Questions

**3** Answers

ANSWER ACCEPTANCE **
42.86%
**

VOTES RECEIVED**4**

RANK

of 17.801

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 110.418

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Add functions to standard path

I have a created a library of functions, which I would like them to be accessible from any location, on every start up. What's t...

oltre 5 anni ago | 1 answer | 0

### 1

answerQuestion

Stop and Continue Iterations

I am running a loop as follows: tol = 1e-6; while err < tol % code disp(tol) end During runtime, I decid...

circa 6 anni ago | 1 answer | 1

### 1

answerQuestion

How can I use disp() command when submitting jobs to cluster running on 'R'?

I am running a MATLAB code on a cluster which uses something called 'R'. I submit the job using the command qsub using a .sh fil...

circa 6 anni ago | 0 answers | 0

### 0

answersQuestion

Invalid first data argument

The following code: plot(x,y,'Marker','*','Color','r',x2,y2,'Marker','--','Color','b') generates this error: "Invalid f...

circa 6 anni ago | 1 answer | 0

### 1

answerQuestion

Is it possible to simplify 'piecewise' expressions by preimposing conditions?

I am solving a problem involving integration of the expression 'K' defined over 'r' and 'z' in symbolics, along with parameters ...

circa 6 anni ago | 0 answers | 1

### 0

answersQuestion

Legend for variable number of plots

Hi, I am plotting a variable 'y' whose size is 'm-by-n' against 'x' whose size is 'm-by-1'. So, I get 'n' plots on the current f...

circa 6 anni ago | 1 answer | 0

### 1

answerQuestion

'simplify' expression not efficient in Matlab2015

I used Matlab 2015 to simplify an trigonometric expression, but in vain. It is not able to replace 1-sin^2() with cos^2(). If my...

oltre 6 anni ago | 1 answer | 0

### 1

answerQuestion

Does symbolics give wrong results?

I was doing matrix operations using symbolics, I found out to my surprise, that the results where wrong and unrepeatable. Same o...

oltre 6 anni ago | 1 answer | 0

### 1

answerQuestion

chol() gives error for a (barely) positive definite matrix.

I have a matrix whose smallest eigenvalue is positive but very close to zero (~ 1e-17). Theoretically, it should be a positive s...

circa 7 anni ago | 1 answer | 0

### 1

answerDraw a line between two points

Frame an equation between two of the points of the form y=mx+c. then replace x with the x-cordinate of the point to be checked, ...

circa 9 anni ago | 0

Question

How to initialize variables (parameters) in Simulink

I have a model of a mechanical system in simulink, which has a lot of parameters which are NOT variables mathematically speaking...

circa 9 anni ago | 1 answer | 0

### 1

answerindexing diagonals out of a 3d matrix

I think this would work elegantly. But I don't know if this would take up alot of time/memory for your purposes. for i=1:10...

circa 9 anni ago | 0

Creating a solid/surface of revolution from discrete data?

First of all your velocity profile is not symmetric about y=0, so if you rotate that graph by 180, you will not get a closed sur...

circa 9 anni ago | 0

Question

Different scope result for two different run times

Here are two scopes of the same simulation run for different run times 50s and 100s. For 50 s, the concerned parameter remains c...

circa 9 anni ago | 1 answer | 1

### 1

answerQuestion

Stable model, but results show instability

i have recently made a simulink model of a mechanical system, though complex in nature, but basically it is a second order ODE. ...

oltre 9 anni ago | 2 answers | 0

### 2

answersQuestion

Simulation time

suppose i carry out a simulation for 10 seconds and i get satisfactory results. now i run the simulation for 20 sec, it again st...

circa 10 anni ago | 1 answer | 1

### 1

answerQuestion

Simulink: Scope time scale

I am simulating the model for 2 seconds, but the scope shows a time history of 0.8 to 2 seconds only, even if i use the autoscal...

oltre 10 anni ago | 1 answer | 0