Community Profile # Krishna Kumar

Active since 2011

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

#### Statistics

All
• • • • • #### Content Feed

View by

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

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

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

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

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

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

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

10 years ago | 0

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

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

10 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

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

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

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

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

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

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

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

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

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

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

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

10 years ago | 3 answers | 0