Community Profile

# Karanvir singh Sohal

##### Last seen: 23일 전
16 2019 이후 총 참여 횟수

#### Karanvir singh Sohal's 배지

세부 정보 보기...

참여 게시물
보기 기준

질문

Storing value outside the loop using reshape function
Hello everyone! I was working on some code and I can't silly I'm doing. Here I have attached my problem in short format. I kno...

27일 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
How to align names with the numbers in a matrix?
So, finally I found what I was looking for Name={'a' 'b' 'c' 'd' 'e' 'f' 'g' 'h' 'i' 'j' 'k' }; Data=[ 1 2 3 4 5 6 7 8 ...

약 1달 전 | 0

| 수락됨

질문

Assigning columns of matrix to strings.
Hello everyone I have following matrix which have nums and I have stored strings in another. Name={'a' 'b' 'c' 'd' 'e' 'f' 'g'...

약 1달 전 | 답변 수: 1 | 0

### 1

답변

질문

Eliminating columns from the matrix
Hello! I have matrix containing string data and nums. a=[0 12 13;0 5 4;0 9 6;0 8 9]' b={'a'; 'b'; 'c'} fprintf('%5s %5s %5s...

약 1달 전 | 답변 수: 1 | 0

### 1

답변

질문

String split from the line .
Hello! I have strings stored in "myline" variable. myline = ,A,B,C,D,E,F,G,H,I,J,K I want to split the string at(,) and also...

약 1달 전 | 답변 수: 1 | 0

### 1

답변

질문

How to align names with the numbers in a matrix?
Hello! I have to put heading row over the data matrix so I used the following code: a=[12 13 14]; b={'a'; 'b'; 'c';}; c=[cha...

약 1달 전 | 답변 수: 2 | 0

### 2

답변

질문

ranking the data in matrix and arrange them as per rank.
Hello! I have a matrix D and E D=[1 2 3; 7 8 9; 4 5 6; 3 0 5]; E=[D sum(D')' ranks(sum(D')')] output of E is E = [ ...

약 1달 전 | 답변 수: 1 | 0

### 1

답변

질문

Multiplication of elements of matrix without using for loop
Hello everyone! I have 2 matrixs A and B. A=[1.00 0.50 0.3333; 0.25 0.20 0.1666; 0.14 0.12 0.1111] B=[1 2 3] I wan...

약 1달 전 | 답변 수: 1 | 0

### 1

답변

질문

correction in order of elements in matrix obtained from reshape array
Hello everyone! below is the code for calculation of C A=[4 4 4; 8 8 8] B=[16 12 8] [mA,nA] = size(A); [mB,nB] = size(B); ...

약 1달 전 | 답변 수: 2 | 0

### 2

답변

질문

storing matrix elements in a single variable as string
Hello! I want to join the multiple int from the matrix and save them as a string. Let us say I have a matrix A. A = [3 25 100 ...

약 1달 전 | 답변 수: 2 | 0

### 2

답변

질문

Eliminating the rows from a matrix
Hello, I have a matrix of any size (say m*n), A=[22 23 44 13 12 ... 4 33 21 33 42 42 ... 3 21 33 12 43 13 ... 1 ...

약 2달 전 | 답변 수: 1 | 0

### 1

답변

질문

How to eliminate column of the matrix?
Hello everyone! I have generated some matrix of size say mxn. I want to eliminate the columns which have all values equal to "0...

약 2달 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
Completing elements of a matrix
Well I got what i was trying to do :) Thanks @Jan for your time and help L=4 X_Range=[L*1000/16 L*1000/10]; Shut= [152.4; 2...

2달 전 | 0

| 수락됨

질문

Completing elements of a matrix
I have a matrix a from a I have generated a new matrix b which have 2 new elements for 1 element of a a = [2;3] [m,n]=size(a)...

2달 전 | 답변 수: 2 | 0

### 2

답변

질문

Matching elements from two different matrixes.
I have one matrix with fixed elements say Shut I want to generete another matrix which contains the elements from Shut matrix h...

2달 전 | 답변 수: 1 | 0

### 1

답변

질문

Overwriting a diary file
I want to save my output to .txt file. I have used diary Output.txt diary on some code diary off It saves diary file i...

2년 이하 전 | 답변 수: 1 | 0

답변