Community Profile

photo

Karanvir singh Sohal


Last seen: etwa 3 Jahre vor Aktiv seit 2019

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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 ...

etwa 3 Jahre vor | 0

| akzeptiert

Frage


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'...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 = [ ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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); ...

etwa 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

etwa 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

etwa 3 Jahre vor | 0

| akzeptiert

Frage


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)...

etwa 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort