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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 1 | 0

