Community Profile

# Krishna Kumar

### IIT Madras

Active since 2011

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

All

View badges

#### Content Feed

View by

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

meer dan 4 jaar ago | 0

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

meer dan 4 jaar ago | 0

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

meer dan 4 jaar 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:...

bijna 10 jaar ago

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

ongeveer 12 jaar ago | 0

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

ongeveer 12 jaar ago | 1

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

ongeveer 12 jaar ago | 0

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

ongeveer 12 jaar ago | 0

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

ongeveer 12 jaar ago | 1

Answered
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

ongeveer 12 jaar ago | 0

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

ongeveer 12 jaar ago | 0

| accepted

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

ongeveer 12 jaar ago | 1

| accepted

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

ongeveer 12 jaar ago | 0

Answered
What parts of MATLAB would you not miss?
My pick would be obsolete tools like gatool, which can now be accessed via optimtool.

ongeveer 12 jaar ago | 1

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

ongeveer 12 jaar ago | 0

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

ongeveer 12 jaar ago | 0

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

ongeveer 12 jaar ago | 1

| accepted

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

ongeveer 12 jaar ago | 0

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

ongeveer 12 jaar ago | 0

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

ongeveer 12 jaar 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...

meer dan 12 jaar ago | 3 answers | 0

### 3

answers

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

meer dan 12 jaar ago | 1

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

meer dan 12 jaar ago | 0