photo

Kiran Sagar


IIST

Active since 2012

Followers: 0   Following: 0

Message

Professional Interests: Aeroelasticity, Control Systems, Hydraulics

Statistics

  • First Review
  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 1 answer | 1

1

answer

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

8 years ago | 0 answers | 0

0

answers

Question


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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 0 answers | 1

0

answers

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

8 years ago | 1 answer | 0

1

answer

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

9 years ago | 1 answer | 0

1

answer

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

9 years ago | 1 answer | 0

1

answer

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

9 years ago | 3 answers | 1

3

answers

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

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

11 years ago | 1 answer | 0

1

answer

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

11 years ago | 0

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

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

11 years ago | 1 answer | 1

1

answer

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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 1 answer | 1

1

answer

Question


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

13 years ago | 1 answer | 0

1

answer