Feeds
提问
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 ...
13 years 前 | 2 个回答 | 0
2
个回答提问
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...
14 years 前 | 1 个回答 | 1
1
个回答提问
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...
14 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
14 years 前 | 1 个回答 | 0
1
个回答提问
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...
15 years 前 | 1 个回答 | 0
1
个回答提问
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...
15 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
15 years 前 | 2 个回答 | 0
2
个回答提问
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...
15 years 前 | 1 个回答 | 2
1
个回答提问
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....
15 years 前 | 3 个回答 | 0
3
个回答提问
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...
15 years 前 | 1 个回答 | 0

