photo

Adam Quintero


Pasadena City College

Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Graphing a linear regression line from given points, very simple example, having trouble with matrices dimensions?
I am getting the error Inner matrix dim...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I access the String properties of edit uicontrols and use them to calculate and send the result to a text uicontrol?
Here is the code I've written thus far: figure('Position',[150 100 900 400]); but01=uicontrol('Style','pushbutton', ... ...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to number a set of row labels, then apply those numerical labels to a set of the same row labels that are in a different order?
For example: matrix01 = abc123,GGAAFFVV;abc328,FFAATTRREEDD;abc9354,LSPSDKSDDD numerical_index_matrix01 = 1,GGAAFFVV;2,FFA...

mehr als 13 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How can I insert values from the vertical 3rd matrix dimension in between the rows of the vertical 1st and 2nd dimension?
For matrix 210x2x4 I want to generate a 840x2 matrix, where in this order: [matrix(1,:,1);matrix(1,:,2);matrix(1,:,3);mat...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can comet3 be modified to have a disappearing tail?
i am not sure how to get the lines which are left behind in comet3 to disappear as the comet moves forward. My goal is to have i...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
What format does the MSA data need to be in order to calculate pair-wise distances with seqpdist?
To calculate a scoring matrix from a MSA based on pam250 scoring, the input needs to be a cell array of the sequence strings. Mu...

mehr als 13 Jahre vor | 0

Frage


What format does the MSA data need to be in order to calculate pair-wise distances with seqpdist?
I am reading a clustalw text format msa with multialignread. I have tried splitting the msaread data into two cells, and keeping...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Given a vector of assorted positive integers, how to create a vector with the means of every 2 integers inserted between each other?
I've managed to take the mean of the whole vector with the mean function, but this doesn't seem like the right path to take. I a...

mehr als 13 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


How to put the lengths of each string in a cell array of strings into a single vector?
I have tried in vain to put this one together. This does work: s = seq(n,:),where n is the specific line for a the string. I'v...

mehr als 13 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How do I create a set of variables from specific coordinate values in a square matrix?
I have a 30x30 matrix of numeric values. The horizontal and vertical coordinates are each the same 30 locations, with the values...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How do I replace the zeros in a matrix with another integer, or with a pos or neg infinity?
I have a 145x145 distance matrix where: (1,1)=0 (2,2)=0 ... Can I replace just the diagonal with infinity values? There are othe...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


What's the best way to create a vector with a repeating and diminutive sequence?
For a small example, how to create a version of this, with a longer seequence. These are integers of equal length apart: v = ...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is there a smarter way to create a large vector, with repeated numbers in a diminishing quantity?
I need the vector to begin with 144 evenly spaced '2's, then 143 '3's, then 142 '4's, etc. I see the brute force method, but it ...

mehr als 13 Jahre vor | 5 Antworten | 1

5

Antworten

Beantwortet
Using my own distribution matrix in the TSP Algorithm used in tsp_ga (found in the file exch)?
thank you, I now see how to properly input my data. I have a question about the xy format, the author states that it is an Nx2 m...

mehr als 13 Jahre vor | 0

Frage


Using my own distribution matrix in the TSP Algorithm used in tsp_ga (found in the file exch)?
[EDIT: 20110602 02:26 CDT - reformat - WDR] I'm not sure how I would input my score matrix---> Name: scorematrix size: 145x145...

mehr als 13 Jahre vor | 3 Antworten | 0

3

Antworten