Community Profile

# Kiran Sagar

### IIST

17 total contributions since 2012

Professional Interests: Aeroelasticity, Control Systems, Hydraulics

View details...

Contributions in
View by

Question

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

alrededor de 3 años ago | 1 answer | 0

### 1

Question

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

más de 3 años ago | 1 answer | 1

### 1

Question

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

casi 4 años ago | 0 answers | 0

### 0

Question

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

casi 4 años ago | 1 answer | 0

### 1

Question

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

casi 4 años ago | 0 answers | 0

### 0

Question

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

casi 4 años ago | 1 answer | 0

### 1

Question

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

casi 4 años ago | 1 answer | 0

### 1

Question

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

alrededor de 4 años ago | 1 answer | 0

### 1

Question

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

más de 4 años ago | 1 answer | 0

### 1

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

más de 6 años 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...

más de 6 años ago | 1 answer | 0

### 1

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

más de 6 años 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...

casi 7 años 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...

casi 7 años ago | 1 answer | 1

### 1

Question

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

alrededor de 7 años ago | 2 answers | 0

### 2

Question

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

casi 8 años ago | 1 answer | 1