Community Profile

photo

Anand Anand


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 1

View badges

Feeds

View by

Question


trouble using "mean" function in MATLAB?
consider A=[1 2 3] if i use mean(A(1):A(3)) it gives 2 which is the mean of first element and third element of A. if A=[3 2 ...

11 years ago | 2 answers | 0

2

answers

Question


Gauss Hermite Quadrature nodes and weights
How do I get the nodes and weights for a gauss hermite quadrature for 'n' points?There are matlab files that integrate using the...

13 years ago | 1 answer | 0

1

answer

Question


Getting the central n numbers in array..
Is there an easy way to get central n numbers in an array?for eg x=[ 1 2 3 4 5] I want to extract the central 3 numbers (i.e) 2...

13 years ago | 1 answer | 0

1

answer

Question


getting input
My script performs a calculation say squaring a number.While I run the script ,it should get input from the user (which is the ...

13 years ago | 1 answer | 0

1

answer

Question


problem running multiple files
I have the inputs stored in multiple text files.Each and every text file has a matrix.The matrix from the first file has to be t...

13 years ago | 1 answer | 0

1

answer

Question


comparing 2 arrays
I have an array A=[1 2 3] B=[1 2 5] I want to get the elements that are present only in one of the arrays stored in A and B li...

13 years ago | 2 answers | 0

2

answers

Question


expanding an array
I need to compare 2 arrays A and B which are unequal in length.So,I need to find the shorter of the 2 arrays and add additional ...

13 years ago | 2 answers | 0

2

answers

Question


combined sorting
For ex;I have an array A=[1:4] and B=[12:19:2:20].If I sort B in descending order B=[20 19 12 2].I want the corresponding positi...

13 years ago | 1 answer | 2

1

answer

Answered
generating the list of permutations
thanks a lot..I did not know that ..

13 years ago | 0

Question


generating the list of permutations
I have an array of numbers stored in k ,say k=1:4.I want the list of all permutations from the array (i.e) 1234,1243,and so on....

13 years ago | 3 answers | 0

3

answers

Question


Adding dummy zeroes in a matrix
I have several arrays of different lengths that need to combined into a single matrix of order n * n where n is the length of th...

13 years ago | 1 answer | 0

1

answer