photo

Krishna Kumar


IIT Madras

Last seen: circa un anno fa Attivo dal 2011

Followers: 0   Following: 0

Messaggio

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

Statistica

All
  • First Review
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

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

quasi 6 anni fa | 0

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

quasi 6 anni fa | 0

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

quasi 6 anni fa | 0

| accettato

Risolto


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

oltre 11 anni fa

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

Risposto
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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

Domanda


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

oltre 13 anni fa | 3 risposte | 0

3

risposte

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 0