Feeds
提问
How to generate dummy variables based on multiple if criteria
I need to generate a few dummy variables and would like your input on this. In the dataset, there are 10 observations per parti...
5 years 前 | 1 个回答 | 0
1
个回答提问
Picking arrays from a matrix based on a condition
Hi, I have a matrix: 3 3 3 3 3 2 2 2 4 4 4 4 4 4 4 2 2 4 4 4 5 5 5 5 5 2 2 4 4 4 6 6 6 6 6 2 2 2 4 4 Suppos...
6 years 前 | 1 个回答 | 0
1
个回答提问
Generation of a matrix based on a defined order of numbers
Hi all, I need your help regarding the generation of a set of numbers. Suppose, I have two vectors: v1 = [2 3 4 5 6 7 ...
6 years 前 | 3 个回答 | 0
3
个回答提问
Unique factorial design or number sequence
Hi, How would I be able to generate a unique sequence by combining [4 6 8 10 12] and [1 2 3], like the ones below: 4 4 4 4...
7 years 前 | 3 个回答 | 0
3
个回答提问
Combination of numbers with specific order
Hi all, I would like to create a matrix of combination of numbers (with five columns). The number are: 4,6,8,10,12,14 The ...
7 years 前 | 2 个回答 | 1
2
个回答提问
Conversion of Matrix dimensions
Hi I have a matrix 81 by 81 i.e. 1 2 . . 81 1 a1,1 a1,2 a1,81 . . 81 a81,1 a81,8...
9 years 前 | 1 个回答 | 0
1
个回答提问
Replacing elements in matrix columns
Hi, I have a matrix 61312*3, and I want to replace the element of the 2nd and 3rd column by some numbers. For example, in 2n...
9 years 前 | 1 个回答 | 0
1
个回答提问
Matrix dimension reduction based on summation
Hi, I have 81*81 matrix. I need to reduce this matrix dimension to, let say, 10*10. Let suppose in the new 10*10 matrix, 1st ...
9 years 前 | 1 个回答 | 0
1
个回答提问
Column and Row factors
Hi, I have a 12*12 matrix, whose row sum in Not equal to the respective column sum (overall sum in equal), i.e. sum of the en...
9 years 前 | 1 个回答 | 0
1
个回答提问
Matrix Extraction based on summation.
Hi. I have 81*81 matrix. I need to extract a matrix from that, for example of order 81*2, which include two columns i.e. the ...
9 years 前 | 1 个回答 | 0
1
个回答提问
Matrix Calculation Code help
Hi. I have two matrices, both have order 81*2. The first matrix includes columns 1)zone no. (from 1 to 81, i.e "i") and 2) P ...
9 years 前 | 2 个回答 | 0
2
个回答提问
Matrix which cells have multiple values
(This question was asked previously, but I didn't explain very well, and this time I attached the data file too for more explan...
10 years 前 | 2 个回答 | 0
2
个回答提问
Replacing values in a column vector.
Hello. I've a column vector 61312*1. Values ranges from 0 to 20. I need to replace the values (0 to 20) with the below mentio...
10 years 前 | 2 个回答 | 0
2
个回答提问
Export data to excel or text file directly
Hello, As a result of below coding I get the file name "out". Origin = (1:81)'; Destination = (1:81)'; Survey_...
10 years 前 | 1 个回答 | 0
1
个回答提问
Need algorithm to create the list
Hello, I need to create a matrix of order 1614006*3, The sequence should be 1st Col (origin) , 2nd Col (Destination) ...
10 years 前 | 3 个回答 | 0
3
个回答提问
Matrix Creation Code Problem
Hello. I've a matrix 61312*3. 1st column: from 1 to 81 (Originating Place) 2nd column: from 1 to 81 (Destination place...
10 years 前 | 1 个回答 | 0
1
个回答提问
Matrix creation which identify link of vehicles
Hello. I've a matrix 61312*3. 1st column: from 1 to 81 (Origin place of a vehicle) 2nd column: from 1 to 81 (Destination...
10 years 前 | 2 个回答 | 0
2
个回答提问
Code for Base Matrix
Hello All. I've a matrix, A=61312*3 1st column: from 1 to 246 (survey no, total 61312 surveys at 246 location, for a vehi...
10 years 前 | 1 个回答 | 0
1
个回答提问
Code Help for Matrix creation
Hello. I have two matrices. 1st order is 61312*2 (two columns i.e. origin and destination, values ranges from 1 to 81 in both...
10 years 前 | 1 个回答 | 0
1
个回答提问
Code Error in MATLAB
Hello All!. I need to create a matrix 81*81. I've done some coding below but it gives error (i.e. I need to get Base_Matrix, but...
10 years 前 | 1 个回答 | 0