# Krishna Kumar

### IIT Madras

Followers: 0 Following: 0

Professional Interests: Nonlinear Dynamics, Meshfree methods, Evolutionary Algorithms, Optimization, Structural health monitoring

**Statistics**

RANK**1,968**

of 293,891

REPUTATION**32**

CONTRIBUTIONS

**1** Question

**21** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**7**

RANK

of 20,058

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

unable to solve sybolically.

Why do you declare this?- [x,y] = meshgrid(0:0.5:10, 0:0.5:10); if you are anyway declaring x and y to be symbolic later....

5 years ago | 0

Using a while loop/iterative process to derive a function

The code yields final value of Ei, and you are essentially using Newton's method to solve the eqn. Do you want the code to print...

5 years ago | 0

How to count each element in array

Are you just interested in this? array = [0.5 1 5 2 7 3]; sum=cumsum(array) If you just want add two neighbouring terms, this...

5 years ago | 0

| accepted

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

11 years ago

SVD

When you do svd of a column matrix, you get 3 matrices [u s v]=svd(X) if X is nx1 vector, u is n*n,s is n*1 and v is 1*1 now...

13 years ago | 0

How do I increase the amount of memory used by MATLAB?

go to start menu(assuming windows), right click on my computer, go to properties, go to advanced tab, click performance options ...

13 years ago | 1

What are the shortcuts for switching between non-adjacent open files in the MATLAB editor

The window menu list all open files. so you can toggle between any file you want without remembering the sequence . alt+W and th...

13 years ago | 1

best way to search date in vector

With the description you've given, seems 'find' will do it fine- x=find(vector==1984). Seems you want to do sth like a loop- ...

13 years ago | 0

GUIDE multiple images and variable handling

The variables can be displayed using sprintf (assign sprintf output to the static text's string property). For plotting the fft...

13 years ago | 1

standard deviation and mean

If you are plotting close values and if the plot's not clear , try change the axes limits so that the variation is clearer

13 years ago | 0

a question about eig() calculating Hermitian matrix

The function could itself check the property of matrix and assign the suitable routine, not a big task of course. If you want ei...

13 years ago | 0

| accepted

PSO CODE for more than one Equation

Well if you need help in framing the problem, try this: [x y z w] is the parameter vector. Your objective function could be O...

13 years ago | 1

| accepted

Adding some changes and code rewriting

To get the random numbers within some limits, you can use randn( since you seem to want random distributed values. x= lowerlimi...

13 years ago | 0

What parts of MATLAB would you not miss?

My pick would be obsolete tools like gatool, which can now be accessed via optimtool.

13 years ago | 1

how to display the plots one by one in axes by selecting puhsbutton

see this - http://www.mathworks.com/matlabcentral/answers/10011-displaying-series-of-images-in-an-axes-in-a-gui and http://ww...

13 years ago | 0

Randomly Error - index must be a positive integer or logical

Bugar From a brief review of code, I suppose that Tempopulasi is your population which is passed as input argument to other f...

13 years ago | 0

How to convert row and column vectors of a symmetric matrix to zero if diagonal value is zero?

This would do it without loop- index=find(diag(your_matrix)==0); your_matrix(index,:)=0; your_matrix(:,index)=0;

13 years ago | 1

| accepted

randomly selection

Do you have those values in a vector. If so, you can do like this- random_chosen=V(randi([min(V) max(V)],1); V=vector_of_inte...

13 years ago | 0

Randomly Error - index must be a positive integer or logical

Bugar, its difficult for us to solve it straightaway, since you didnt mention in which code the error occurs. The error is a com...

13 years ago | 0

Displaying series of images in an axes in a GUI

I got what I wanted from this thread, courtesy 'ImageAnalyst'. The solution is simple and meats my needs. http://www.mathwor...

13 years ago | 0

Question

Displaying series of images in an axes in a GUI

Hi all, I have a GUI which has a axes in it apart from other elements. The functions called in callbacks generate di...

13 years ago | 3 answers | 0

### 3

answerssprintf or disp

disp displays the string or variable in the command windoe, whereas sprintf can be used to output the result into a variable, GU...

13 years ago | 1

I need GUI Save As button for an image in a figure please.

You can modify sean de's suggestion by including a pushbutton next to the edit text and calling 'uigetfile' in the push button c...

13 years ago | 0